HSL(82, 20%, 17%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(82,20%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(82, 20%, 17%) | color: hsl(82, 20%, 17%) | |
| HEX | #2E3423 | color: #2E3423 | |
| RGB | rgb(46, 52, 35) | color: rgb(46, 52, 35) | |
| CMYK | cmyk(12%, 0%, 33%, 80%) | — | |
| HSV | hsv(81, 33%, 20%) | — | |
| HWB | hwb(81 13% 80%) | color: hwb(81 13% 80%) | |
| OKLCH | oklch(0.3139 0.0302 123.91) | color: oklch(0.3139 0.0302 123.91) | |
| Lab | lab(20.67 -6.28 9.93) | color: lab(20.67 -6.28 9.93) | |
| LCH | lch(20.67 11.75 122.31) | color: lch(20.67 11.75 122.31) |
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)
#313127 — rgb(49, 49, 39)
Deuteranopia (Green-blind)
#303028 — rgb(48, 48, 40)
Tritanopia (Blue-blind)
#2E2A2B — rgb(46, 42, 43)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(82, 20%, 17%);
text
color: hsl(82, 20%, 17%);
border
border: 2px solid hsl(82, 20%, 17%);
gradient light
background: linear-gradient(to right, hsl(82, 20%, 37%), hsl(82, 20%, 17%));
gradient dark
background: linear-gradient(to right, hsl(82, 20%, 17%), hsl(82, 20%, 0%))
hex
background-color: #2E3423;
tailwind
bg-[hsl(82,20%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(82, 20%, 17%, 0.4);
css variable
--color-primary: hsl(82, 20%, 17%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(82, 20%, 17%)?
HEX: #2E3423 | RGB: rgb(46, 52, 35) | CMYK: 12%, 0%, 33%, 80% | HSV: 81°, 33%, 20%. Copy any format from the conversion table above.
What colors go well with #2E3423?
The complementary color is HSL(262, 20%, 17%). For a triadic harmony, use hues 82°, 202°, and 322°. For analogous combinations, try hues 52° and 112°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(82, 20%, 17%) in CSS?
As HSL: color: hsl(82, 20%, 17%); — As HEX: color: #2E3423; — As RGB: color: rgb(46, 52, 35); — Tailwind CSS: bg-[hsl(82,20%,17%)] — CSS variable: --color-primary: hsl(82, 20%, 17%);