HSL(126, 85%, 29%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(126,85%,29%)]

Color Conversions

Format Value CSS Usage
HSL hsl(126, 85%, 29%) color: hsl(126, 85%, 29%)
HEX #0B8918 color: #0B8918
RGB rgb(11, 137, 24) color: rgb(11, 137, 24)
CMYK cmyk(92%, 0%, 82%, 46%)
HSV hsv(126, 92%, 54%)
HWB hwb(126 4% 46%) color: hwb(126 4% 46%)
OKLCH oklch(0.5478 0.1768 143.44) color: oklch(0.5478 0.1768 143.44)
Lab lab(49.53 -52.48 47.3) color: lab(49.53 -52.48 47.3)
LCH lch(49.53 70.65 137.97) color: lch(49.53 70.65 137.97)

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 4.56:1
vs Black 4.61:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#424333 — rgb(66, 67, 51)

Deuteranopia (Green-blind)

#3A313A — rgb(58, 49, 58)

Tritanopia (Blue-blind)

#11494E — rgb(17, 73, 78)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(126, 85%, 29%);

text

color: hsl(126, 85%, 29%);

border

border: 2px solid hsl(126, 85%, 29%);

gradient light

background: linear-gradient(to right, hsl(126, 85%, 49%), hsl(126, 85%, 29%));

gradient dark

background: linear-gradient(to right, hsl(126, 85%, 29%), hsl(126, 85%, 9%))

hex

background-color: #0B8918;

tailwind

bg-[hsl(126,85%,29%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(126, 85%, 29%, 0.4);

css variable

--color-primary: hsl(126, 85%, 29%);

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(126, 85%, 29%)?

HEX: #0B8918 | RGB: rgb(11, 137, 24) | CMYK: 92%, 0%, 82%, 46% | HSV: 126°, 92%, 54%. Copy any format from the conversion table above.

What colors go well with #0B8918?

The complementary color is HSL(306, 85%, 29%). For a triadic harmony, use hues 126°, 246°, and 6°. For analogous combinations, try hues 96° and 156°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(126, 85%, 29%) in CSS?

As HSL: color: hsl(126, 85%, 29%); — As HEX: color: #0B8918; — As RGB: color: rgb(11, 137, 24); — Tailwind CSS: bg-[hsl(126,85%,29%)] — CSS variable: --color-primary: hsl(126, 85%, 29%);