HSL(126, 20%, 66%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(126,20%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(126, 20%, 66%) | color: hsl(126, 20%, 66%) | |
| HEX | #97BA9A | color: #97BA9A | |
| RGB | rgb(151, 186, 154) | color: rgb(151, 186, 154) | |
| CMYK | cmyk(19%, 0%, 17%, 27%) | — | |
| HSV | hsv(125, 19%, 73%) | — | |
| HWB | hwb(125 59% 27%) | color: hwb(125 59% 27%) | |
| OKLCH | oklch(0.7542 0.0591 147.27) | color: oklch(0.7542 0.0591 147.27) | |
| Lab | lab(72.25 -18.11 12.39) | color: lab(72.25 -18.11 12.39) | |
| LCH | lch(72.25 21.94 145.62) | color: lch(72.25 21.94 145.62) |
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)
#A6A6A2 — rgb(166, 166, 162)
Deuteranopia (Green-blind)
#A4A2A4 — rgb(164, 162, 164)
Tritanopia (Blue-blind)
#99A8A9 — rgb(153, 168, 169)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(126, 20%, 66%);
text
color: hsl(126, 20%, 66%);
border
border: 2px solid hsl(126, 20%, 66%);
gradient light
background: linear-gradient(to right, hsl(126, 20%, 86%), hsl(126, 20%, 66%));
gradient dark
background: linear-gradient(to right, hsl(126, 20%, 66%), hsl(126, 20%, 46%))
hex
background-color: #97BA9A;
tailwind
bg-[hsl(126,20%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(126, 20%, 66%, 0.4);
css variable
--color-primary: hsl(126, 20%, 66%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(126, 20%, 66%)?
HEX: #97BA9A | RGB: rgb(151, 186, 154) | CMYK: 19%, 0%, 17%, 27% | HSV: 125°, 19%, 73%. Copy any format from the conversion table above.
What colors go well with #97BA9A?
The complementary color is HSL(306, 20%, 66%). For a triadic harmony, use hues 126°, 246°, and 6°. For analogous combinations, try hues 96° and 156°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(126, 20%, 66%) in CSS?
As HSL: color: hsl(126, 20%, 66%); — As HEX: color: #97BA9A; — As RGB: color: rgb(151, 186, 154); — Tailwind CSS: bg-[hsl(126,20%,66%)] — CSS variable: --color-primary: hsl(126, 20%, 66%);