HSL(152, 27%, 59%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(152,27%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(152, 27%, 59%) | color: hsl(152, 27%, 59%) | |
| HEX | #7AB398 | color: #7AB398 | |
| RGB | rgb(122, 179, 152) | color: rgb(122, 179, 152) | |
| CMYK | cmyk(32%, 0%, 15%, 30%) | — | |
| HSV | hsv(152, 32%, 70%) | — | |
| HWB | hwb(152 48% 30%) | color: hwb(152 48% 30%) | |
| OKLCH | oklch(0.7195 0.0717 163.46) | color: oklch(0.7195 0.0717 163.46) | |
| Lab | lab(68.49 -24.47 7.91) | color: lab(68.49 -24.47 7.91) | |
| LCH | lch(68.49 25.72 162.09) | color: lch(68.49 25.72 162.09) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#93939F — rgb(147, 147, 159)
Deuteranopia (Green-blind)
#8F8BA0 — rgb(143, 139, 160)
Tritanopia (Blue-blind)
#7DA4A5 — rgb(125, 164, 165)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(152, 27%, 59%);
text
color: hsl(152, 27%, 59%);
border
border: 2px solid hsl(152, 27%, 59%);
gradient light
background: linear-gradient(to right, hsl(152, 27%, 79%), hsl(152, 27%, 59%));
gradient dark
background: linear-gradient(to right, hsl(152, 27%, 59%), hsl(152, 27%, 39%))
hex
background-color: #7AB398;
tailwind
bg-[hsl(152,27%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(152, 27%, 59%, 0.4);
css variable
--color-primary: hsl(152, 27%, 59%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(152, 27%, 59%)?
HEX: #7AB398 | RGB: rgb(122, 179, 152) | CMYK: 32%, 0%, 15%, 30% | HSV: 152°, 32%, 70%. Copy any format from the conversion table above.
What colors go well with #7AB398?
The complementary color is HSL(332, 27%, 59%). 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, 27%, 59%) in CSS?
As HSL: color: hsl(152, 27%, 59%); — As HEX: color: #7AB398; — As RGB: color: rgb(122, 179, 152); — Tailwind CSS: bg-[hsl(152,27%,59%)] — CSS variable: --color-primary: hsl(152, 27%, 59%);