HSL(123, 21%, 5%)

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(123,21%,5%)]

Color Conversions

Format Value CSS Usage
HSL hsl(123, 21%, 5%) color: hsl(123, 21%, 5%)
HEX #0A0F0A color: #0A0F0A
RGB rgb(10, 15, 10) color: rgb(10, 15, 10)
CMYK cmyk(33%, 0%, 33%, 94%)
HSV hsv(120, 33%, 6%)
HWB hwb(120 4% 94%) color: hwb(120 4% 94%)
OKLCH oklch(0.161 0.0131 144.94) color: oklch(0.161 0.0131 144.94)
Lab lab(3.87 -2.3 1.64) color: lab(3.87 -2.3 1.64)
LCH lch(3.87 2.82 144.51) color: lch(3.87 2.82 144.51)

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.34:1
vs Black 1.09: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)

#0C0C0B — rgb(12, 12, 11)

Deuteranopia (Green-blind)

#0C0C0C — rgb(12, 12, 12)

Tritanopia (Blue-blind)

#0A0C0C — rgb(10, 12, 12)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(123, 21%, 5%);

text

color: hsl(123, 21%, 5%);

border

border: 2px solid hsl(123, 21%, 5%);

gradient light

background: linear-gradient(to right, hsl(123, 21%, 25%), hsl(123, 21%, 5%));

gradient dark

background: linear-gradient(to right, hsl(123, 21%, 5%), hsl(123, 21%, 0%))

hex

background-color: #0A0F0A;

tailwind

bg-[hsl(123,21%,5%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(123, 21%, 5%, 0.4);

css variable

--color-primary: hsl(123, 21%, 5%);

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(123, 21%, 5%)?

HEX: #0A0F0A | RGB: rgb(10, 15, 10) | CMYK: 33%, 0%, 33%, 94% | HSV: 120°, 33%, 6%. Copy any format from the conversion table above.

What colors go well with #0A0F0A?

The complementary color is HSL(303, 21%, 5%). For a triadic harmony, use hues 123°, 243°, and 3°. For analogous combinations, try hues 93° and 153°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(123, 21%, 5%) in CSS?

As HSL: color: hsl(123, 21%, 5%); — As HEX: color: #0A0F0A; — As RGB: color: rgb(10, 15, 10); — Tailwind CSS: bg-[hsl(123,21%,5%)] — CSS variable: --color-primary: hsl(123, 21%, 5%);