HSL(70, 42%, 10%)
Very Dark Green — Green color
Adjust Color
Color Information
Color Name
Very Dark Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(70,42%,10%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(70, 42%, 10%) | color: hsl(70, 42%, 10%) | |
| HEX | #21240F | color: #21240F | |
| RGB | rgb(33, 36, 15) | color: rgb(33, 36, 15) | |
| CMYK | cmyk(8%, 0%, 58%, 86%) | — | |
| HSV | hsv(69, 58%, 14%) | — | |
| HWB | hwb(69 6% 86%) | color: hwb(69 6% 86%) | |
| OKLCH | oklch(0.2511 0.0361 115.74) | color: oklch(0.2511 0.0361 115.74) | |
| Lab | lab(13.35 -5.59 13.09) | color: lab(13.35 -5.59 13.09) | |
| LCH | lch(13.35 14.23 113.12) | color: lch(13.35 14.23 113.12) |
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)
#222214 — rgb(34, 34, 20)
Deuteranopia (Green-blind)
#222215 — rgb(34, 34, 21)
Tritanopia (Blue-blind)
#211819 — rgb(33, 24, 25)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(70, 42%, 10%);
text
color: hsl(70, 42%, 10%);
border
border: 2px solid hsl(70, 42%, 10%);
gradient light
background: linear-gradient(to right, hsl(70, 42%, 30%), hsl(70, 42%, 10%));
gradient dark
background: linear-gradient(to right, hsl(70, 42%, 10%), hsl(70, 42%, 0%))
hex
background-color: #21240F;
tailwind
bg-[hsl(70,42%,10%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(70, 42%, 10%, 0.4);
css variable
--color-primary: hsl(70, 42%, 10%);
Related Colors
Use Cases for Very Dark Green
Frequently Asked Questions
What are all the color codes for HSL(70, 42%, 10%)?
HEX: #21240F | RGB: rgb(33, 36, 15) | CMYK: 8%, 0%, 58%, 86% | HSV: 69°, 58%, 14%. Copy any format from the conversion table above.
What colors go well with #21240F?
The complementary color is HSL(250, 42%, 10%). 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%, 10%) in CSS?
As HSL: color: hsl(70, 42%, 10%); — As HEX: color: #21240F; — As RGB: color: rgb(33, 36, 15); — Tailwind CSS: bg-[hsl(70,42%,10%)] — CSS variable: --color-primary: hsl(70, 42%, 10%);