HSL(77, 40%, 4%)

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(77,40%,4%)]

Color Conversions

Format Value CSS Usage
HSL hsl(77, 40%, 4%) color: hsl(77, 40%, 4%)
HEX #0C0E06 color: #0C0E06
RGB rgb(12, 14, 6) color: rgb(12, 14, 6)
CMYK cmyk(14%, 0%, 57%, 95%)
HSV hsv(75, 57%, 5%)
HWB hwb(75 2% 95%) color: hwb(75 2% 95%)
OKLCH oklch(0.1583 0.0174 119.08) color: oklch(0.1583 0.0174 119.08)
Lab lab(3.66 -1.79 2.99) color: lab(3.66 -1.79 2.99)
LCH lch(3.66 3.48 120.91) color: lch(3.66 3.48 120.91)

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 19.43:1
vs Black 1.08: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)

#0D0D08 — rgb(13, 13, 8)

Deuteranopia (Green-blind)

#0D0D08 — rgb(13, 13, 8)

Tritanopia (Blue-blind)

#0C090A — rgb(12, 9, 10)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(77, 40%, 4%);

text

color: hsl(77, 40%, 4%);

border

border: 2px solid hsl(77, 40%, 4%);

gradient light

background: linear-gradient(to right, hsl(77, 40%, 24%), hsl(77, 40%, 4%));

gradient dark

background: linear-gradient(to right, hsl(77, 40%, 4%), hsl(77, 40%, 0%))

hex

background-color: #0C0E06;

tailwind

bg-[hsl(77,40%,4%)]

box shadow

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

css variable

--color-primary: hsl(77, 40%, 4%);

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(77, 40%, 4%)?

HEX: #0C0E06 | RGB: rgb(12, 14, 6) | CMYK: 14%, 0%, 57%, 95% | HSV: 75°, 57%, 5%. Copy any format from the conversion table above.

What colors go well with #0C0E06?

The complementary color is HSL(257, 40%, 4%). For a triadic harmony, use hues 77°, 197°, and 317°. For analogous combinations, try hues 47° and 107°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(77, 40%, 4%) in CSS?

As HSL: color: hsl(77, 40%, 4%); — As HEX: color: #0C0E06; — As RGB: color: rgb(12, 14, 6); — Tailwind CSS: bg-[hsl(77,40%,4%)] — CSS variable: --color-primary: hsl(77, 40%, 4%);