HSL(139, 20%, 20%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(139,20%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(139, 20%, 20%) | color: hsl(139, 20%, 20%) | |
| HEX | #293D2F | color: #293D2F | |
| RGB | rgb(41, 61, 47) | color: rgb(41, 61, 47) | |
| CMYK | cmyk(33%, 0%, 23%, 76%) | — | |
| HSV | hsv(138, 33%, 24%) | — | |
| HWB | hwb(138 16% 76%) | color: hwb(138 16% 76%) | |
| OKLCH | oklch(0.3383 0.0355 153.67) | color: oklch(0.3383 0.0355 153.67) | |
| Lab | lab(23.72 -11.51 6.12) | color: lab(23.72 -11.51 6.12) | |
| LCH | lch(23.72 13.04 152) | color: lch(23.72 13.04 152) |
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)
#323232 — rgb(50, 50, 50)
Deuteranopia (Green-blind)
#312F33 — rgb(49, 47, 51)
Tritanopia (Blue-blind)
#2A3536 — rgb(42, 53, 54)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(139, 20%, 20%);
text
color: hsl(139, 20%, 20%);
border
border: 2px solid hsl(139, 20%, 20%);
gradient light
background: linear-gradient(to right, hsl(139, 20%, 40%), hsl(139, 20%, 20%));
gradient dark
background: linear-gradient(to right, hsl(139, 20%, 20%), hsl(139, 20%, 0%))
hex
background-color: #293D2F;
tailwind
bg-[hsl(139,20%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(139, 20%, 20%, 0.4);
css variable
--color-primary: hsl(139, 20%, 20%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(139, 20%, 20%)?
HEX: #293D2F | RGB: rgb(41, 61, 47) | CMYK: 33%, 0%, 23%, 76% | HSV: 138°, 33%, 24%. Copy any format from the conversion table above.
What colors go well with #293D2F?
The complementary color is HSL(319, 20%, 20%). For a triadic harmony, use hues 139°, 259°, and 19°. For analogous combinations, try hues 109° and 169°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(139, 20%, 20%) in CSS?
As HSL: color: hsl(139, 20%, 20%); — As HEX: color: #293D2F; — As RGB: color: rgb(41, 61, 47); — Tailwind CSS: bg-[hsl(139,20%,20%)] — CSS variable: --color-primary: hsl(139, 20%, 20%);