HSL(157, 90%, 31%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(157,90%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(157, 90%, 31%) | color: hsl(157, 90%, 31%) | |
| HEX | #089660 | color: #089660 | |
| RGB | rgb(8, 150, 96) | color: rgb(8, 150, 96) | |
| CMYK | cmyk(95%, 0%, 36%, 41%) | — | |
| HSV | hsv(157, 95%, 59%) | — | |
| HWB | hwb(157 3% 41%) | color: hwb(157 3% 41%) | |
| OKLCH | oklch(0.5941 0.1351 158.94) | color: oklch(0.5941 0.1351 158.94) | |
| Lab | lab(54.77 -46.66 19.29) | color: lab(54.77 -46.66 19.29) | |
| LCH | lch(54.77 50.49 157.54) | color: lch(54.77 50.49 157.54) |
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)
#45476D — rgb(69, 71, 109)
Deuteranopia (Green-blind)
#3D3370 — rgb(61, 51, 112)
Tritanopia (Blue-blind)
#0F777A — rgb(15, 119, 122)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(157, 90%, 31%);
text
color: hsl(157, 90%, 31%);
border
border: 2px solid hsl(157, 90%, 31%);
gradient light
background: linear-gradient(to right, hsl(157, 90%, 51%), hsl(157, 90%, 31%));
gradient dark
background: linear-gradient(to right, hsl(157, 90%, 31%), hsl(157, 90%, 11%))
hex
background-color: #089660;
tailwind
bg-[hsl(157,90%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(157, 90%, 31%, 0.4);
css variable
--color-primary: hsl(157, 90%, 31%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(157, 90%, 31%)?
HEX: #089660 | RGB: rgb(8, 150, 96) | CMYK: 95%, 0%, 36%, 41% | HSV: 157°, 95%, 59%. Copy any format from the conversion table above.
What colors go well with #089660?
The complementary color is HSL(337, 90%, 31%). For a triadic harmony, use hues 157°, 277°, and 37°. For analogous combinations, try hues 127° and 187°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(157, 90%, 31%) in CSS?
As HSL: color: hsl(157, 90%, 31%); — As HEX: color: #089660; — As RGB: color: rgb(8, 150, 96); — Tailwind CSS: bg-[hsl(157,90%,31%)] — CSS variable: --color-primary: hsl(157, 90%, 31%);