HSL(157, 67%, 31%)
Cyan — Cyan color
Adjust Color
Color Information
Color Name
Cyan
Color Family
Cyan
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(157,67%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(157, 67%, 31%) | color: hsl(157, 67%, 31%) | |
| HEX | #1A845B | color: #1A845B | |
| RGB | rgb(26, 132, 91) | color: rgb(26, 132, 91) | |
| CMYK | cmyk(80%, 0%, 31%, 48%) | — | |
| HSV | hsv(157, 80%, 52%) | — | |
| HWB | hwb(157 10% 48%) | color: hwb(157 10% 48%) | |
| OKLCH | oklch(0.5455 0.1125 161.49) | color: oklch(0.5455 0.1125 161.49) | |
| Lab | lab(48.85 -39.14 14.07) | color: lab(48.85 -39.14 14.07) | |
| LCH | lch(48.85 41.59 160.23) | color: lch(48.85 41.59 160.23) |
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)
#484965 — rgb(72, 73, 101)
Deuteranopia (Green-blind)
#423A67 — rgb(66, 58, 103)
Tritanopia (Blue-blind)
#1F6D6E — rgb(31, 109, 110)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(157, 67%, 31%);
text
color: hsl(157, 67%, 31%);
border
border: 2px solid hsl(157, 67%, 31%);
gradient light
background: linear-gradient(to right, hsl(157, 67%, 51%), hsl(157, 67%, 31%));
gradient dark
background: linear-gradient(to right, hsl(157, 67%, 31%), hsl(157, 67%, 11%))
hex
background-color: #1A845B;
tailwind
bg-[hsl(157,67%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(157, 67%, 31%, 0.4);
css variable
--color-primary: hsl(157, 67%, 31%);
Related Colors
Use Cases for Cyan
Frequently Asked Questions
What are all the color codes for HSL(157, 67%, 31%)?
HEX: #1A845B | RGB: rgb(26, 132, 91) | CMYK: 80%, 0%, 31%, 48% | HSV: 157°, 80%, 52%. Copy any format from the conversion table above.
What colors go well with #1A845B?
The complementary color is HSL(337, 67%, 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, 67%, 31%) in CSS?
As HSL: color: hsl(157, 67%, 31%); — As HEX: color: #1A845B; — As RGB: color: rgb(26, 132, 91); — Tailwind CSS: bg-[hsl(157,67%,31%)] — CSS variable: --color-primary: hsl(157, 67%, 31%);