HSL(152, 70%, 31%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(152,70%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(152, 70%, 31%) | color: hsl(152, 70%, 31%) | |
| HEX | #188653 | color: #188653 | |
| RGB | rgb(24, 134, 83) | color: rgb(24, 134, 83) | |
| CMYK | cmyk(82%, 0%, 38%, 47%) | — | |
| HSV | hsv(152, 82%, 53%) | — | |
| HWB | hwb(152 10% 47%) | color: hwb(152 10% 47%) | |
| OKLCH | oklch(0.5489 0.1233 156.91) | color: oklch(0.5489 0.1233 156.91) | |
| Lab | lab(49.34 -41.99 19.28) | color: lab(49.34 -41.99 19.28) | |
| LCH | lch(49.34 46.2 155.34) | color: lch(49.34 46.2 155.34) |
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)
#48495F — rgb(72, 73, 95)
Deuteranopia (Green-blind)
#413962 — rgb(65, 57, 98)
Tritanopia (Blue-blind)
#1E696B — rgb(30, 105, 107)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(152, 70%, 31%);
text
color: hsl(152, 70%, 31%);
border
border: 2px solid hsl(152, 70%, 31%);
gradient light
background: linear-gradient(to right, hsl(152, 70%, 51%), hsl(152, 70%, 31%));
gradient dark
background: linear-gradient(to right, hsl(152, 70%, 31%), hsl(152, 70%, 11%))
hex
background-color: #188653;
tailwind
bg-[hsl(152,70%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(152, 70%, 31%, 0.4);
css variable
--color-primary: hsl(152, 70%, 31%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(152, 70%, 31%)?
HEX: #188653 | RGB: rgb(24, 134, 83) | CMYK: 82%, 0%, 38%, 47% | HSV: 152°, 82%, 53%. Copy any format from the conversion table above.
What colors go well with #188653?
The complementary color is HSL(332, 70%, 31%). 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, 70%, 31%) in CSS?
As HSL: color: hsl(152, 70%, 31%); — As HEX: color: #188653; — As RGB: color: rgb(24, 134, 83); — Tailwind CSS: bg-[hsl(152,70%,31%)] — CSS variable: --color-primary: hsl(152, 70%, 31%);