HSL(70, 42%, 15%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(70,42%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(70, 42%, 15%) | color: hsl(70, 42%, 15%) | |
| HEX | #313616 | color: #313616 | |
| RGB | rgb(49, 54, 22) | color: rgb(49, 54, 22) | |
| CMYK | cmyk(9%, 0%, 59%, 79%) | — | |
| HSV | hsv(69, 59%, 21%) | — | |
| HWB | hwb(69 9% 79%) | color: hwb(69 9% 79%) | |
| OKLCH | oklch(0.3196 0.0509 116.71) | color: oklch(0.3196 0.0509 116.71) | |
| Lab | lab(21.39 -8.03 19.21) | color: lab(21.39 -8.03 19.21) | |
| LCH | lch(21.39 20.82 112.69) | color: lch(21.39 20.82 112.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)
#33331E — rgb(51, 51, 30)
Deuteranopia (Green-blind)
#333320 — rgb(51, 51, 32)
Tritanopia (Blue-blind)
#312425 — rgb(49, 36, 37)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(70, 42%, 15%);
text
color: hsl(70, 42%, 15%);
border
border: 2px solid hsl(70, 42%, 15%);
gradient light
background: linear-gradient(to right, hsl(70, 42%, 35%), hsl(70, 42%, 15%));
gradient dark
background: linear-gradient(to right, hsl(70, 42%, 15%), hsl(70, 42%, 0%))
hex
background-color: #313616;
tailwind
bg-[hsl(70,42%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(70, 42%, 15%, 0.4);
css variable
--color-primary: hsl(70, 42%, 15%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(70, 42%, 15%)?
HEX: #313616 | RGB: rgb(49, 54, 22) | CMYK: 9%, 0%, 59%, 79% | HSV: 69°, 59%, 21%. Copy any format from the conversion table above.
What colors go well with #313616?
The complementary color is HSL(250, 42%, 15%). For a triadic harmony, use hues 70°, 190°, and 310°. For analogous combinations, try hues 40° and 100°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(70, 42%, 15%) in CSS?
As HSL: color: hsl(70, 42%, 15%); — As HEX: color: #313616; — As RGB: color: rgb(49, 54, 22); — Tailwind CSS: bg-[hsl(70,42%,15%)] — CSS variable: --color-primary: hsl(70, 42%, 15%);