HSL(102, 31%, 20%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(102,31%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(102, 31%, 20%) | color: hsl(102, 31%, 20%) | |
| HEX | #2D4323 | color: #2D4323 | |
| RGB | rgb(45, 67, 35) | color: rgb(45, 67, 35) | |
| CMYK | cmyk(33%, 0%, 48%, 74%) | — | |
| HSV | hsv(101, 48%, 26%) | — | |
| HWB | hwb(101 14% 74%) | color: hwb(101 14% 74%) | |
| OKLCH | oklch(0.3553 0.0594 136.47) | color: oklch(0.3553 0.0594 136.47) | |
| Lab | lab(25.84 -15.73 16.72) | color: lab(25.84 -15.73 16.72) | |
| LCH | lch(25.84 22.96 133.25) | color: lch(25.84 22.96 133.25) |
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)
#37372B — rgb(55, 55, 43)
Deuteranopia (Green-blind)
#35342D — rgb(53, 52, 45)
Tritanopia (Blue-blind)
#2E3132 — rgb(46, 49, 50)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(102, 31%, 20%);
text
color: hsl(102, 31%, 20%);
border
border: 2px solid hsl(102, 31%, 20%);
gradient light
background: linear-gradient(to right, hsl(102, 31%, 40%), hsl(102, 31%, 20%));
gradient dark
background: linear-gradient(to right, hsl(102, 31%, 20%), hsl(102, 31%, 0%))
hex
background-color: #2D4323;
tailwind
bg-[hsl(102,31%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(102, 31%, 20%, 0.4);
css variable
--color-primary: hsl(102, 31%, 20%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(102, 31%, 20%)?
HEX: #2D4323 | RGB: rgb(45, 67, 35) | CMYK: 33%, 0%, 48%, 74% | HSV: 101°, 48%, 26%. Copy any format from the conversion table above.
What colors go well with #2D4323?
The complementary color is HSL(282, 31%, 20%). For a triadic harmony, use hues 102°, 222°, and 342°. For analogous combinations, try hues 72° and 132°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(102, 31%, 20%) in CSS?
As HSL: color: hsl(102, 31%, 20%); — As HEX: color: #2D4323; — As RGB: color: rgb(45, 67, 35); — Tailwind CSS: bg-[hsl(102,31%,20%)] — CSS variable: --color-primary: hsl(102, 31%, 20%);