HSL(152, 86%, 16%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(152,86%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(152, 86%, 16%) | color: hsl(152, 86%, 16%) | |
| HEX | #064C2B | color: #064C2B | |
| RGB | rgb(6, 76, 43) | color: rgb(6, 76, 43) | |
| CMYK | cmyk(92%, 0%, 43%, 70%) | — | |
| HSV | hsv(152, 92%, 30%) | — | |
| HWB | hwb(152 2% 70%) | color: hwb(152 2% 70%) | |
| OKLCH | oklch(0.3676 0.0859 155.91) | color: oklch(0.3676 0.0859 155.91) | |
| Lab | lab(27.8 -29.1 14.04) | color: lab(27.8 -29.1 14.04) | |
| LCH | lch(27.8 32.31 154.24) | color: lch(27.8 32.31 154.24) |
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)
#242533 — rgb(36, 37, 51)
Deuteranopia (Green-blind)
#201B35 — rgb(32, 27, 53)
Tritanopia (Blue-blind)
#0A393B — rgb(10, 57, 59)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(152, 86%, 16%);
text
color: hsl(152, 86%, 16%);
border
border: 2px solid hsl(152, 86%, 16%);
gradient light
background: linear-gradient(to right, hsl(152, 86%, 36%), hsl(152, 86%, 16%));
gradient dark
background: linear-gradient(to right, hsl(152, 86%, 16%), hsl(152, 86%, 0%))
hex
background-color: #064C2B;
tailwind
bg-[hsl(152,86%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(152, 86%, 16%, 0.4);
css variable
--color-primary: hsl(152, 86%, 16%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(152, 86%, 16%)?
HEX: #064C2B | RGB: rgb(6, 76, 43) | CMYK: 92%, 0%, 43%, 70% | HSV: 152°, 92%, 30%. Copy any format from the conversion table above.
What colors go well with #064C2B?
The complementary color is HSL(332, 86%, 16%). For a triadic harmony, use hues 152°, 272°, and 32°. For analogous combinations, try hues 122° and 182°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(152, 86%, 16%) in CSS?
As HSL: color: hsl(152, 86%, 16%); — As HEX: color: #064C2B; — As RGB: color: rgb(6, 76, 43); — Tailwind CSS: bg-[hsl(152,86%,16%)] — CSS variable: --color-primary: hsl(152, 86%, 16%);