HSL(152, 71%, 30%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(152,71%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(152, 71%, 30%) | color: hsl(152, 71%, 30%) | |
| HEX | #168350 | color: #168350 | |
| RGB | rgb(22, 131, 80) | color: rgb(22, 131, 80) | |
| CMYK | cmyk(83%, 0%, 39%, 49%) | — | |
| HSV | hsv(152, 83%, 51%) | — | |
| HWB | hwb(152 9% 49%) | color: hwb(152 9% 49%) | |
| OKLCH | oklch(0.5395 0.1226 156.54) | color: oklch(0.5395 0.1226 156.54) | |
| Lab | lab(48.24 -41.67 19.49) | color: lab(48.24 -41.67 19.49) | |
| LCH | lch(48.24 46 154.93) | color: lch(48.24 46 154.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)
#45465C — rgb(69, 70, 92)
Deuteranopia (Green-blind)
#3F375F — rgb(63, 55, 95)
Tritanopia (Blue-blind)
#1B6668 — rgb(27, 102, 104)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(152, 71%, 30%);
text
color: hsl(152, 71%, 30%);
border
border: 2px solid hsl(152, 71%, 30%);
gradient light
background: linear-gradient(to right, hsl(152, 71%, 50%), hsl(152, 71%, 30%));
gradient dark
background: linear-gradient(to right, hsl(152, 71%, 30%), hsl(152, 71%, 10%))
hex
background-color: #168350;
tailwind
bg-[hsl(152,71%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(152, 71%, 30%, 0.4);
css variable
--color-primary: hsl(152, 71%, 30%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(152, 71%, 30%)?
HEX: #168350 | RGB: rgb(22, 131, 80) | CMYK: 83%, 0%, 39%, 49% | HSV: 152°, 83%, 51%. Copy any format from the conversion table above.
What colors go well with #168350?
The complementary color is HSL(332, 71%, 30%). 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, 71%, 30%) in CSS?
As HSL: color: hsl(152, 71%, 30%); — As HEX: color: #168350; — As RGB: color: rgb(22, 131, 80); — Tailwind CSS: bg-[hsl(152,71%,30%)] — CSS variable: --color-primary: hsl(152, 71%, 30%);