HSL(72, 20%, 9%)
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(72,20%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(72, 20%, 9%) | color: hsl(72, 20%, 9%) | |
| HEX | #1A1C12 | color: #1A1C12 | |
| RGB | rgb(26, 28, 18) | color: rgb(26, 28, 18) | |
| CMYK | cmyk(7%, 0%, 36%, 89%) | — | |
| HSV | hsv(72, 36%, 11%) | — | |
| HWB | hwb(72 7% 89%) | color: hwb(72 7% 89%) | |
| OKLCH | oklch(0.2208 0.0188 117.16) | color: oklch(0.2208 0.0188 117.16) | |
| Lab | lab(9.75 -3.27 6.32) | color: lab(9.75 -3.27 6.32) | |
| LCH | lch(9.75 7.12 117.36) | color: lch(9.75 7.12 117.36) |
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)
#1B1B14 — rgb(27, 27, 20)
Deuteranopia (Green-blind)
#1B1B15 — rgb(27, 27, 21)
Tritanopia (Blue-blind)
#1A1617 — rgb(26, 22, 23)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(72, 20%, 9%);
text
color: hsl(72, 20%, 9%);
border
border: 2px solid hsl(72, 20%, 9%);
gradient light
background: linear-gradient(to right, hsl(72, 20%, 29%), hsl(72, 20%, 9%));
gradient dark
background: linear-gradient(to right, hsl(72, 20%, 9%), hsl(72, 20%, 0%))
hex
background-color: #1A1C12;
tailwind
bg-[hsl(72,20%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(72, 20%, 9%, 0.4);
css variable
--color-primary: hsl(72, 20%, 9%);
Related Colors
Use Cases for Very Dark Green
Frequently Asked Questions
What are all the color codes for HSL(72, 20%, 9%)?
HEX: #1A1C12 | RGB: rgb(26, 28, 18) | CMYK: 7%, 0%, 36%, 89% | HSV: 72°, 36%, 11%. Copy any format from the conversion table above.
What colors go well with #1A1C12?
The complementary color is HSL(252, 20%, 9%). For a triadic harmony, use hues 72°, 192°, and 312°. For analogous combinations, try hues 42° and 102°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(72, 20%, 9%) in CSS?
As HSL: color: hsl(72, 20%, 9%); — As HEX: color: #1A1C12; — As RGB: color: rgb(26, 28, 18); — Tailwind CSS: bg-[hsl(72,20%,9%)] — CSS variable: --color-primary: hsl(72, 20%, 9%);