HSL(152, 51%, 29%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(152,51%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(152, 51%, 29%) | color: hsl(152, 51%, 29%) | |
| HEX | #24704C | color: #24704C | |
| RGB | rgb(36, 112, 76) | color: rgb(36, 112, 76) | |
| CMYK | cmyk(68%, 0%, 32%, 56%) | — | |
| HSV | hsv(152, 68%, 44%) | — | |
| HWB | hwb(152 14% 56%) | color: hwb(152 14% 56%) | |
| OKLCH | oklch(0.4885 0.0946 158.98) | color: oklch(0.4885 0.0946 158.98) | |
| Lab | lab(41.98 -32.38 13.38) | color: lab(41.98 -32.38 13.38) | |
| LCH | lch(41.98 35.04 157.55) | color: lch(41.98 35.04 157.55) |
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)
#454655 — rgb(69, 70, 85)
Deuteranopia (Green-blind)
#413B57 — rgb(65, 59, 87)
Tritanopia (Blue-blind)
#285C5D — rgb(40, 92, 93)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(152, 51%, 29%);
text
color: hsl(152, 51%, 29%);
border
border: 2px solid hsl(152, 51%, 29%);
gradient light
background: linear-gradient(to right, hsl(152, 51%, 49%), hsl(152, 51%, 29%));
gradient dark
background: linear-gradient(to right, hsl(152, 51%, 29%), hsl(152, 51%, 9%))
hex
background-color: #24704C;
tailwind
bg-[hsl(152,51%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(152, 51%, 29%, 0.4);
css variable
--color-primary: hsl(152, 51%, 29%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(152, 51%, 29%)?
HEX: #24704C | RGB: rgb(36, 112, 76) | CMYK: 68%, 0%, 32%, 56% | HSV: 152°, 68%, 44%. Copy any format from the conversion table above.
What colors go well with #24704C?
The complementary color is HSL(332, 51%, 29%). 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, 51%, 29%) in CSS?
As HSL: color: hsl(152, 51%, 29%); — As HEX: color: #24704C; — As RGB: color: rgb(36, 112, 76); — Tailwind CSS: bg-[hsl(152,51%,29%)] — CSS variable: --color-primary: hsl(152, 51%, 29%);