HSL(126, 30%, 62%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(126,30%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(126, 30%, 62%) | color: hsl(126, 30%, 62%) | |
| HEX | #81BB87 | color: #81BB87 | |
| RGB | rgb(129, 187, 135) | color: rgb(129, 187, 135) | |
| CMYK | cmyk(31%, 0%, 28%, 27%) | — | |
| HSV | hsv(126, 31%, 73%) | — | |
| HWB | hwb(126 50% 27%) | color: hwb(126 50% 27%) | |
| OKLCH | oklch(0.7382 0.0957 147.11) | color: oklch(0.7382 0.0957 147.11) | |
| Lab | lab(70.84 -29.42 20.5) | color: lab(70.84 -29.42 20.5) | |
| LCH | lch(70.84 35.86 145.13) | color: lch(70.84 35.86 145.13) |
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)
#9A9B94 — rgb(154, 155, 148)
Deuteranopia (Green-blind)
#979297 — rgb(151, 146, 151)
Tritanopia (Blue-blind)
#849EA0 — rgb(132, 158, 160)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(126, 30%, 62%);
text
color: hsl(126, 30%, 62%);
border
border: 2px solid hsl(126, 30%, 62%);
gradient light
background: linear-gradient(to right, hsl(126, 30%, 82%), hsl(126, 30%, 62%));
gradient dark
background: linear-gradient(to right, hsl(126, 30%, 62%), hsl(126, 30%, 42%))
hex
background-color: #81BB87;
tailwind
bg-[hsl(126,30%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(126, 30%, 62%, 0.4);
css variable
--color-primary: hsl(126, 30%, 62%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(126, 30%, 62%)?
HEX: #81BB87 | RGB: rgb(129, 187, 135) | CMYK: 31%, 0%, 28%, 27% | HSV: 126°, 31%, 73%. Copy any format from the conversion table above.
What colors go well with #81BB87?
The complementary color is HSL(306, 30%, 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, 30%, 62%) in CSS?
As HSL: color: hsl(126, 30%, 62%); — As HEX: color: #81BB87; — As RGB: color: rgb(129, 187, 135); — Tailwind CSS: bg-[hsl(126,30%,62%)] — CSS variable: --color-primary: hsl(126, 30%, 62%);