HSL(122, 72%, 15%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(122,72%,15%)]

Color Conversions

Format Value CSS Usage
HSL hsl(122, 72%, 15%) color: hsl(122, 72%, 15%)
HEX #0B420D color: #0B420D
RGB rgb(11, 66, 13) color: rgb(11, 66, 13)
CMYK cmyk(83%, 0%, 80%, 74%)
HSV hsv(122, 83%, 26%)
HWB hwb(122 4% 74%) color: hwb(122 4% 74%)
OKLCH oklch(0.3322 0.0992 143.36) color: oklch(0.3322 0.0992 143.36)
Lab lab(23.66 -29.35 25.97) color: lab(23.66 -29.35 25.97)
LCH lch(23.66 39.19 138.5) color: lch(23.66 39.19 138.5)

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 11.67:1
vs Black 1.8: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)

#23231A — rgb(35, 35, 26)

Deuteranopia (Green-blind)

#201C1D — rgb(32, 28, 29)

Tritanopia (Blue-blind)

#0E2426 — rgb(14, 36, 38)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(122, 72%, 15%);

text

color: hsl(122, 72%, 15%);

border

border: 2px solid hsl(122, 72%, 15%);

gradient light

background: linear-gradient(to right, hsl(122, 72%, 35%), hsl(122, 72%, 15%));

gradient dark

background: linear-gradient(to right, hsl(122, 72%, 15%), hsl(122, 72%, 0%))

hex

background-color: #0B420D;

tailwind

bg-[hsl(122,72%,15%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(122, 72%, 15%, 0.4);

css variable

--color-primary: hsl(122, 72%, 15%);

Related Colors

Use Cases for Green

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

Frequently Asked Questions

What are all the color codes for HSL(122, 72%, 15%)?

HEX: #0B420D | RGB: rgb(11, 66, 13) | CMYK: 83%, 0%, 80%, 74% | HSV: 122°, 83%, 26%. Copy any format from the conversion table above.

What colors go well with #0B420D?

The complementary color is HSL(302, 72%, 15%). For a triadic harmony, use hues 122°, 242°, and 2°. For analogous combinations, try hues 92° and 152°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(122, 72%, 15%) in CSS?

As HSL: color: hsl(122, 72%, 15%); — As HEX: color: #0B420D; — As RGB: color: rgb(11, 66, 13); — Tailwind CSS: bg-[hsl(122,72%,15%)] — CSS variable: --color-primary: hsl(122, 72%, 15%);