HSL(75, 42%, 15%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(75,42%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(75, 42%, 15%) | color: hsl(75, 42%, 15%) | |
| HEX | #2E3616 | color: #2E3616 | |
| RGB | rgb(46, 54, 22) | color: rgb(46, 54, 22) | |
| CMYK | cmyk(15%, 0%, 59%, 79%) | — | |
| HSV | hsv(75, 59%, 21%) | — | |
| HWB | hwb(75 9% 79%) | color: hwb(75 9% 79%) | |
| OKLCH | oklch(0.3167 0.0522 121.05) | color: oklch(0.3167 0.0522 121.05) | |
| Lab | lab(21.12 -9.53 18.82) | color: lab(21.12 -9.53 18.82) | |
| LCH | lch(21.12 21.1 116.86) | color: lch(21.12 21.1 116.86) |
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)
#31321E — rgb(49, 50, 30)
Deuteranopia (Green-blind)
#313020 — rgb(49, 48, 32)
Tritanopia (Blue-blind)
#2E2425 — rgb(46, 36, 37)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(75, 42%, 15%);
text
color: hsl(75, 42%, 15%);
border
border: 2px solid hsl(75, 42%, 15%);
gradient light
background: linear-gradient(to right, hsl(75, 42%, 35%), hsl(75, 42%, 15%));
gradient dark
background: linear-gradient(to right, hsl(75, 42%, 15%), hsl(75, 42%, 0%))
hex
background-color: #2E3616;
tailwind
bg-[hsl(75,42%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(75, 42%, 15%, 0.4);
css variable
--color-primary: hsl(75, 42%, 15%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(75, 42%, 15%)?
HEX: #2E3616 | RGB: rgb(46, 54, 22) | CMYK: 15%, 0%, 59%, 79% | HSV: 75°, 59%, 21%. Copy any format from the conversion table above.
What colors go well with #2E3616?
The complementary color is HSL(255, 42%, 15%). For a triadic harmony, use hues 75°, 195°, and 315°. For analogous combinations, try hues 45° and 105°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(75, 42%, 15%) in CSS?
As HSL: color: hsl(75, 42%, 15%); — As HEX: color: #2E3616; — As RGB: color: rgb(46, 54, 22); — Tailwind CSS: bg-[hsl(75,42%,15%)] — CSS variable: --color-primary: hsl(75, 42%, 15%);