HSL(152, 82%, 17%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(152,82%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(152, 82%, 17%) | color: hsl(152, 82%, 17%) | |
| HEX | #084F2E | color: #084F2E | |
| RGB | rgb(8, 79, 46) | color: rgb(8, 79, 46) | |
| CMYK | cmyk(90%, 0%, 42%, 69%) | — | |
| HSV | hsv(152, 90%, 31%) | — | |
| HWB | hwb(152 3% 69%) | color: hwb(152 3% 69%) | |
| OKLCH | oklch(0.3779 0.0865 156.48) | color: oklch(0.3779 0.0865 156.48) | |
| Lab | lab(29.01 -29.42 13.81) | color: lab(29.01 -29.42 13.81) | |
| LCH | lch(29.01 32.5 154.85) | color: lch(29.01 32.5 154.85) |
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)
#272736 — rgb(39, 39, 54)
Deuteranopia (Green-blind)
#231D38 — rgb(35, 29, 56)
Tritanopia (Blue-blind)
#0C3C3E — rgb(12, 60, 62)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(152, 82%, 17%);
text
color: hsl(152, 82%, 17%);
border
border: 2px solid hsl(152, 82%, 17%);
gradient light
background: linear-gradient(to right, hsl(152, 82%, 37%), hsl(152, 82%, 17%));
gradient dark
background: linear-gradient(to right, hsl(152, 82%, 17%), hsl(152, 82%, 0%))
hex
background-color: #084F2E;
tailwind
bg-[hsl(152,82%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(152, 82%, 17%, 0.4);
css variable
--color-primary: hsl(152, 82%, 17%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(152, 82%, 17%)?
HEX: #084F2E | RGB: rgb(8, 79, 46) | CMYK: 90%, 0%, 42%, 69% | HSV: 152°, 90%, 31%. Copy any format from the conversion table above.
What colors go well with #084F2E?
The complementary color is HSL(332, 82%, 17%). 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, 82%, 17%) in CSS?
As HSL: color: hsl(152, 82%, 17%); — As HEX: color: #084F2E; — As RGB: color: rgb(8, 79, 46); — Tailwind CSS: bg-[hsl(152,82%,17%)] — CSS variable: --color-primary: hsl(152, 82%, 17%);