HSL(145, 40%, 10%)
Very Dark Green — Green color
Adjust Color
Color Information
Color Name
Very Dark Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(145,40%,10%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(145, 40%, 10%) | color: hsl(145, 40%, 10%) | |
| HEX | #0F2418 | color: #0F2418 | |
| RGB | rgb(15, 36, 24) | color: rgb(15, 36, 24) | |
| CMYK | cmyk(58%, 0%, 33%, 86%) | — | |
| HSV | hsv(146, 58%, 14%) | — | |
| HWB | hwb(146 6% 86%) | color: hwb(146 6% 86%) | |
| OKLCH | oklch(0.2384 0.0359 157.16) | color: oklch(0.2384 0.0359 157.16) | |
| Lab | lab(12.15 -12.05 5.46) | color: lab(12.15 -12.05 5.46) | |
| LCH | lch(12.15 13.23 155.62) | color: lch(12.15 13.23 155.62) |
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)
#18181B — rgb(24, 24, 27)
Deuteranopia (Green-blind)
#17151C — rgb(23, 21, 28)
Tritanopia (Blue-blind)
#101D1E — rgb(16, 29, 30)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(145, 40%, 10%);
text
color: hsl(145, 40%, 10%);
border
border: 2px solid hsl(145, 40%, 10%);
gradient light
background: linear-gradient(to right, hsl(145, 40%, 30%), hsl(145, 40%, 10%));
gradient dark
background: linear-gradient(to right, hsl(145, 40%, 10%), hsl(145, 40%, 0%))
hex
background-color: #0F2418;
tailwind
bg-[hsl(145,40%,10%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(145, 40%, 10%, 0.4);
css variable
--color-primary: hsl(145, 40%, 10%);
Related Colors
Use Cases for Very Dark Green
Frequently Asked Questions
What are all the color codes for HSL(145, 40%, 10%)?
HEX: #0F2418 | RGB: rgb(15, 36, 24) | CMYK: 58%, 0%, 33%, 86% | HSV: 146°, 58%, 14%. Copy any format from the conversion table above.
What colors go well with #0F2418?
The complementary color is HSL(325, 40%, 10%). For a triadic harmony, use hues 145°, 265°, and 25°. For analogous combinations, try hues 115° and 175°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(145, 40%, 10%) in CSS?
As HSL: color: hsl(145, 40%, 10%); — As HEX: color: #0F2418; — As RGB: color: rgb(15, 36, 24); — Tailwind CSS: bg-[hsl(145,40%,10%)] — CSS variable: --color-primary: hsl(145, 40%, 10%);