HSL(152, 50%, 26%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(152,50%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(152, 50%, 26%) | color: hsl(152, 50%, 26%) | |
| HEX | #216345 | color: #216345 | |
| RGB | rgb(33, 99, 69) | color: rgb(33, 99, 69) | |
| CMYK | cmyk(67%, 0%, 30%, 61%) | — | |
| HSV | hsv(153, 67%, 39%) | — | |
| HWB | hwb(153 13% 61%) | color: hwb(153 13% 61%) | |
| OKLCH | oklch(0.4491 0.0833 160.29) | color: oklch(0.4491 0.0833 160.29) | |
| Lab | lab(37.25 -28.68 11.05) | color: lab(37.25 -28.68 11.05) | |
| LCH | lch(37.25 30.74 158.93) | color: lch(37.25 30.74 158.93) |
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)
#3E3E4C — rgb(62, 62, 76)
Deuteranopia (Green-blind)
#3A354E — rgb(58, 53, 78)
Tritanopia (Blue-blind)
#245253 — rgb(36, 82, 83)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(152, 50%, 26%);
text
color: hsl(152, 50%, 26%);
border
border: 2px solid hsl(152, 50%, 26%);
gradient light
background: linear-gradient(to right, hsl(152, 50%, 46%), hsl(152, 50%, 26%));
gradient dark
background: linear-gradient(to right, hsl(152, 50%, 26%), hsl(152, 50%, 6%))
hex
background-color: #216345;
tailwind
bg-[hsl(152,50%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(152, 50%, 26%, 0.4);
css variable
--color-primary: hsl(152, 50%, 26%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(152, 50%, 26%)?
HEX: #216345 | RGB: rgb(33, 99, 69) | CMYK: 67%, 0%, 30%, 61% | HSV: 153°, 67%, 39%. Copy any format from the conversion table above.
What colors go well with #216345?
The complementary color is HSL(332, 50%, 26%). 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, 50%, 26%) in CSS?
As HSL: color: hsl(152, 50%, 26%); — As HEX: color: #216345; — As RGB: color: rgb(33, 99, 69); — Tailwind CSS: bg-[hsl(152,50%,26%)] — CSS variable: --color-primary: hsl(152, 50%, 26%);