HSL(106, 100%, 21%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(106,100%,21%)]

Color Conversions

Format Value CSS Usage
HSL hsl(106, 100%, 21%) color: hsl(106, 100%, 21%)
HEX #196B00 color: #196B00
RGB rgb(25, 107, 0) color: rgb(25, 107, 0)
CMYK cmyk(77%, 0%, 100%, 58%)
HSV hsv(106, 100%, 42%)
HWB hwb(106 0% 58%) color: hwb(106 0% 58%)
OKLCH oklch(0.4613 0.1502 140.52) color: oklch(0.4613 0.1502 140.52)
Lab lab(39.11 -42.3 44.34) color: lab(39.11 -42.3 44.34)
LCH lch(39.11 61.28 133.65) color: lch(39.11 61.28 133.65)

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 6.68:1
vs Black 3.14:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#3D3D1A — rgb(61, 61, 26)

Deuteranopia (Green-blind)

#383220 — rgb(56, 50, 32)

Tritanopia (Blue-blind)

#1D2E33 — rgb(29, 46, 51)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(106, 100%, 21%);

text

color: hsl(106, 100%, 21%);

border

border: 2px solid hsl(106, 100%, 21%);

gradient light

background: linear-gradient(to right, hsl(106, 100%, 41%), hsl(106, 100%, 21%));

gradient dark

background: linear-gradient(to right, hsl(106, 100%, 21%), hsl(106, 100%, 1%))

hex

background-color: #196B00;

tailwind

bg-[hsl(106,100%,21%)]

box shadow

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

css variable

--color-primary: hsl(106, 100%, 21%);

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(106, 100%, 21%)?

HEX: #196B00 | RGB: rgb(25, 107, 0) | CMYK: 77%, 0%, 100%, 58% | HSV: 106°, 100%, 42%. Copy any format from the conversion table above.

What colors go well with #196B00?

The complementary color is HSL(286, 100%, 21%). For a triadic harmony, use hues 106°, 226°, and 346°. For analogous combinations, try hues 76° and 136°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(106, 100%, 21%) in CSS?

As HSL: color: hsl(106, 100%, 21%); — As HEX: color: #196B00; — As RGB: color: rgb(25, 107, 0); — Tailwind CSS: bg-[hsl(106,100%,21%)] — CSS variable: --color-primary: hsl(106, 100%, 21%);