HSL(126, 71%, 32%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(126,71%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(126, 71%, 32%) | color: hsl(126, 71%, 32%) | |
| HEX | #188C23 | color: #188C23 | |
| RGB | rgb(24, 140, 35) | color: rgb(24, 140, 35) | |
| CMYK | cmyk(83%, 0%, 75%, 45%) | — | |
| HSV | hsv(126, 83%, 55%) | — | |
| HWB | hwb(126 9% 45%) | color: hwb(126 9% 45%) | |
| OKLCH | oklch(0.5588 0.1719 143.82) | color: oklch(0.5588 0.1719 143.82) | |
| Lab | lab(50.77 -51.31 44.76) | color: lab(50.77 -51.31 44.76) | |
| LCH | lch(50.77 68.09 138.9) | color: lch(50.77 68.09 138.9) |
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)
#4A4B3C — rgb(74, 75, 60)
Deuteranopia (Green-blind)
#443B43 — rgb(68, 59, 67)
Tritanopia (Blue-blind)
#1E5055 — rgb(30, 80, 85)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(126, 71%, 32%);
text
color: hsl(126, 71%, 32%);
border
border: 2px solid hsl(126, 71%, 32%);
gradient light
background: linear-gradient(to right, hsl(126, 71%, 52%), hsl(126, 71%, 32%));
gradient dark
background: linear-gradient(to right, hsl(126, 71%, 32%), hsl(126, 71%, 12%))
hex
background-color: #188C23;
tailwind
bg-[hsl(126,71%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(126, 71%, 32%, 0.4);
css variable
--color-primary: hsl(126, 71%, 32%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(126, 71%, 32%)?
HEX: #188C23 | RGB: rgb(24, 140, 35) | CMYK: 83%, 0%, 75%, 45% | HSV: 126°, 83%, 55%. Copy any format from the conversion table above.
What colors go well with #188C23?
The complementary color is HSL(306, 71%, 32%). 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, 71%, 32%) in CSS?
As HSL: color: hsl(126, 71%, 32%); — As HEX: color: #188C23; — As RGB: color: rgb(24, 140, 35); — Tailwind CSS: bg-[hsl(126,71%,32%)] — CSS variable: --color-primary: hsl(126, 71%, 32%);