HSL(126, 45%, 23%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(126,45%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(126, 45%, 23%) | color: hsl(126, 45%, 23%) | |
| HEX | #205526 | color: #205526 | |
| RGB | rgb(32, 85, 38) | color: rgb(32, 85, 38) | |
| CMYK | cmyk(62%, 0%, 55%, 67%) | — | |
| HSV | hsv(127, 62%, 33%) | — | |
| HWB | hwb(127 13% 67%) | color: hwb(127 13% 67%) | |
| OKLCH | oklch(0.4013 0.0946 145.65) | color: oklch(0.4013 0.0946 145.65) | |
| Lab | lab(31.68 -28.83 22.12) | color: lab(31.68 -28.83 22.12) | |
| LCH | lch(31.68 36.34 142.5) | color: lch(31.68 36.34 142.5) |
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)
#373731 — rgb(55, 55, 49)
Deuteranopia (Green-blind)
#343034 — rgb(52, 48, 52)
Tritanopia (Blue-blind)
#233A3C — rgb(35, 58, 60)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(126, 45%, 23%);
text
color: hsl(126, 45%, 23%);
border
border: 2px solid hsl(126, 45%, 23%);
gradient light
background: linear-gradient(to right, hsl(126, 45%, 43%), hsl(126, 45%, 23%));
gradient dark
background: linear-gradient(to right, hsl(126, 45%, 23%), hsl(126, 45%, 3%))
hex
background-color: #205526;
tailwind
bg-[hsl(126,45%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(126, 45%, 23%, 0.4);
css variable
--color-primary: hsl(126, 45%, 23%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(126, 45%, 23%)?
HEX: #205526 | RGB: rgb(32, 85, 38) | CMYK: 62%, 0%, 55%, 67% | HSV: 127°, 62%, 33%. Copy any format from the conversion table above.
What colors go well with #205526?
The complementary color is HSL(306, 45%, 23%). 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, 45%, 23%) in CSS?
As HSL: color: hsl(126, 45%, 23%); — As HEX: color: #205526; — As RGB: color: rgb(32, 85, 38); — Tailwind CSS: bg-[hsl(126,45%,23%)] — CSS variable: --color-primary: hsl(126, 45%, 23%);