HSL(151, 90%, 23%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(151,90%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(151, 90%, 23%) | color: hsl(151, 90%, 23%) | |
| HEX | #066F3C | color: #066F3C | |
| RGB | rgb(6, 111, 60) | color: rgb(6, 111, 60) | |
| CMYK | cmyk(95%, 0%, 46%, 56%) | — | |
| HSV | hsv(151, 95%, 44%) | — | |
| HWB | hwb(151 2% 56%) | color: hwb(151 2% 56%) | |
| OKLCH | oklch(0.4762 0.1181 153.94) | color: oklch(0.4762 0.1181 153.94) | |
| Lab | lab(40.79 -39.53 21) | color: lab(40.79 -39.53 21) | |
| LCH | lch(40.79 44.76 152.02) | color: lch(40.79 44.76 152.02) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#333448 — rgb(51, 52, 72)
Deuteranopia (Green-blind)
#2D264B — rgb(45, 38, 75)
Tritanopia (Blue-blind)
#0B5254 — rgb(11, 82, 84)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(151, 90%, 23%);
text
color: hsl(151, 90%, 23%);
border
border: 2px solid hsl(151, 90%, 23%);
gradient light
background: linear-gradient(to right, hsl(151, 90%, 43%), hsl(151, 90%, 23%));
gradient dark
background: linear-gradient(to right, hsl(151, 90%, 23%), hsl(151, 90%, 3%))
hex
background-color: #066F3C;
tailwind
bg-[hsl(151,90%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(151, 90%, 23%, 0.4);
css variable
--color-primary: hsl(151, 90%, 23%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(151, 90%, 23%)?
HEX: #066F3C | RGB: rgb(6, 111, 60) | CMYK: 95%, 0%, 46%, 56% | HSV: 151°, 95%, 44%. Copy any format from the conversion table above.
What colors go well with #066F3C?
The complementary color is HSL(331, 90%, 23%). For a triadic harmony, use hues 151°, 271°, and 31°. For analogous combinations, try hues 121° and 181°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(151, 90%, 23%) in CSS?
As HSL: color: hsl(151, 90%, 23%); — As HEX: color: #066F3C; — As RGB: color: rgb(6, 111, 60); — Tailwind CSS: bg-[hsl(151,90%,23%)] — CSS variable: --color-primary: hsl(151, 90%, 23%);