HSL(109, 21%, 20%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(109,21%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(109, 21%, 20%) | color: hsl(109, 21%, 20%) | |
| HEX | #2C3E28 | color: #2C3E28 | |
| RGB | rgb(44, 62, 40) | color: rgb(44, 62, 40) | |
| CMYK | cmyk(29%, 0%, 35%, 76%) | — | |
| HSV | hsv(109, 35%, 24%) | — | |
| HWB | hwb(109 16% 76%) | color: hwb(109 16% 76%) | |
| OKLCH | oklch(0.3414 0.0441 139.95) | color: oklch(0.3414 0.0441 139.95) | |
| Lab | lab(24.11 -12.38 11.27) | color: lab(24.11 -12.38 11.27) | |
| LCH | lch(24.11 16.74 137.69) | color: lch(24.11 16.74 137.69) |
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)
#34342D — rgb(52, 52, 45)
Deuteranopia (Green-blind)
#33312F — rgb(51, 49, 47)
Tritanopia (Blue-blind)
#2D3232 — rgb(45, 50, 50)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(109, 21%, 20%);
text
color: hsl(109, 21%, 20%);
border
border: 2px solid hsl(109, 21%, 20%);
gradient light
background: linear-gradient(to right, hsl(109, 21%, 40%), hsl(109, 21%, 20%));
gradient dark
background: linear-gradient(to right, hsl(109, 21%, 20%), hsl(109, 21%, 0%))
hex
background-color: #2C3E28;
tailwind
bg-[hsl(109,21%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(109, 21%, 20%, 0.4);
css variable
--color-primary: hsl(109, 21%, 20%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(109, 21%, 20%)?
HEX: #2C3E28 | RGB: rgb(44, 62, 40) | CMYK: 29%, 0%, 35%, 76% | HSV: 109°, 35%, 24%. Copy any format from the conversion table above.
What colors go well with #2C3E28?
The complementary color is HSL(289, 21%, 20%). For a triadic harmony, use hues 109°, 229°, and 349°. For analogous combinations, try hues 79° and 139°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(109, 21%, 20%) in CSS?
As HSL: color: hsl(109, 21%, 20%); — As HEX: color: #2C3E28; — As RGB: color: rgb(44, 62, 40); — Tailwind CSS: bg-[hsl(109,21%,20%)] — CSS variable: --color-primary: hsl(109, 21%, 20%);