HSL(126, 20%, 62%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(126,20%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(126, 20%, 62%) | color: hsl(126, 20%, 62%) | |
| HEX | #8BB18F | color: #8BB18F | |
| RGB | rgb(139, 177, 143) | color: rgb(139, 177, 143) | |
| CMYK | cmyk(21%, 0%, 19%, 31%) | — | |
| HSV | hsv(126, 21%, 69%) | — | |
| HWB | hwb(126 55% 31%) | color: hwb(126 55% 31%) | |
| OKLCH | oklch(0.723 0.0638 147.7) | color: oklch(0.723 0.0638 147.7) | |
| Lab | lab(68.69 -19.67 13.26) | color: lab(68.69 -19.67 13.26) | |
| LCH | lch(68.69 23.72 146.02) | color: lch(68.69 23.72 146.02) |
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)
#9B9C97 — rgb(155, 156, 151)
Deuteranopia (Green-blind)
#999699 — rgb(153, 150, 153)
Tritanopia (Blue-blind)
#8D9E9F — rgb(141, 158, 159)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(126, 20%, 62%);
text
color: hsl(126, 20%, 62%);
border
border: 2px solid hsl(126, 20%, 62%);
gradient light
background: linear-gradient(to right, hsl(126, 20%, 82%), hsl(126, 20%, 62%));
gradient dark
background: linear-gradient(to right, hsl(126, 20%, 62%), hsl(126, 20%, 42%))
hex
background-color: #8BB18F;
tailwind
bg-[hsl(126,20%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(126, 20%, 62%, 0.4);
css variable
--color-primary: hsl(126, 20%, 62%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(126, 20%, 62%)?
HEX: #8BB18F | RGB: rgb(139, 177, 143) | CMYK: 21%, 0%, 19%, 31% | HSV: 126°, 21%, 69%. Copy any format from the conversion table above.
What colors go well with #8BB18F?
The complementary color is HSL(306, 20%, 62%). 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%, 62%) in CSS?
As HSL: color: hsl(126, 20%, 62%); — As HEX: color: #8BB18F; — As RGB: color: rgb(139, 177, 143); — Tailwind CSS: bg-[hsl(126,20%,62%)] — CSS variable: --color-primary: hsl(126, 20%, 62%);