HSL(152, 79%, 24%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(152,79%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(152, 79%, 24%) | color: hsl(152, 79%, 24%) | |
| HEX | #0D6E40 | color: #0D6E40 | |
| RGB | rgb(13, 110, 64) | color: rgb(13, 110, 64) | |
| CMYK | cmyk(88%, 0%, 42%, 57%) | — | |
| HSV | hsv(152, 88%, 43%) | — | |
| HWB | hwb(152 5% 57%) | color: hwb(152 5% 57%) | |
| OKLCH | oklch(0.475 0.1114 155.62) | color: oklch(0.475 0.1114 155.62) | |
| Lab | lab(40.58 -37.7 18.45) | color: lab(40.58 -37.7 18.45) | |
| LCH | lch(40.58 41.97 153.92) | color: lch(40.58 41.97 153.92) |
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)
#37384B — rgb(55, 56, 75)
Deuteranopia (Green-blind)
#312A4E — rgb(49, 42, 78)
Tritanopia (Blue-blind)
#125456 — rgb(18, 84, 86)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(152, 79%, 24%);
text
color: hsl(152, 79%, 24%);
border
border: 2px solid hsl(152, 79%, 24%);
gradient light
background: linear-gradient(to right, hsl(152, 79%, 44%), hsl(152, 79%, 24%));
gradient dark
background: linear-gradient(to right, hsl(152, 79%, 24%), hsl(152, 79%, 4%))
hex
background-color: #0D6E40;
tailwind
bg-[hsl(152,79%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(152, 79%, 24%, 0.4);
css variable
--color-primary: hsl(152, 79%, 24%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(152, 79%, 24%)?
HEX: #0D6E40 | RGB: rgb(13, 110, 64) | CMYK: 88%, 0%, 42%, 57% | HSV: 152°, 88%, 43%. Copy any format from the conversion table above.
What colors go well with #0D6E40?
The complementary color is HSL(332, 79%, 24%). 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, 79%, 24%) in CSS?
As HSL: color: hsl(152, 79%, 24%); — As HEX: color: #0D6E40; — As RGB: color: rgb(13, 110, 64); — Tailwind CSS: bg-[hsl(152,79%,24%)] — CSS variable: --color-primary: hsl(152, 79%, 24%);