HSL(105, 40%, 9%)

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(105,40%,9%)]

Color Conversions

Format Value CSS Usage
HSL hsl(105, 40%, 9%) color: hsl(105, 40%, 9%)
HEX #12200E color: #12200E
RGB rgb(18, 32, 14) color: rgb(18, 32, 14)
CMYK cmyk(44%, 0%, 56%, 87%)
HSV hsv(107, 56%, 13%)
HWB hwb(107 6% 87%) color: hwb(107 6% 87%)
OKLCH oklch(0.2248 0.0387 138.94) color: oklch(0.2248 0.0387 138.94)
Lab lab(10.51 -10.67 9.52) color: lab(10.51 -10.67 9.52)
LCH lch(10.51 14.3 138.26) color: lch(10.51 14.3 138.26)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 16.95:1
vs Black 1.24:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#181812 — rgb(24, 24, 18)

Deuteranopia (Green-blind)

#171613 — rgb(23, 22, 19)

Tritanopia (Blue-blind)

#131617 — rgb(19, 22, 23)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(105, 40%, 9%);

text

color: hsl(105, 40%, 9%);

border

border: 2px solid hsl(105, 40%, 9%);

gradient light

background: linear-gradient(to right, hsl(105, 40%, 29%), hsl(105, 40%, 9%));

gradient dark

background: linear-gradient(to right, hsl(105, 40%, 9%), hsl(105, 40%, 0%))

hex

background-color: #12200E;

tailwind

bg-[hsl(105,40%,9%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(105, 40%, 9%, 0.4);

css variable

--color-primary: hsl(105, 40%, 9%);

Related Colors

Use Cases for Very Dark Green

Success states Eco/nature brands Finance apps Health apps Confirm buttons

Frequently Asked Questions

What are all the color codes for HSL(105, 40%, 9%)?

HEX: #12200E | RGB: rgb(18, 32, 14) | CMYK: 44%, 0%, 56%, 87% | HSV: 107°, 56%, 13%. Copy any format from the conversion table above.

What colors go well with #12200E?

The complementary color is HSL(285, 40%, 9%). For a triadic harmony, use hues 105°, 225°, and 345°. For analogous combinations, try hues 75° and 135°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(105, 40%, 9%) in CSS?

As HSL: color: hsl(105, 40%, 9%); — As HEX: color: #12200E; — As RGB: color: rgb(18, 32, 14); — Tailwind CSS: bg-[hsl(105,40%,9%)] — CSS variable: --color-primary: hsl(105, 40%, 9%);