HSL(102, 71%, 22%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(102,71%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(102, 71%, 22%) color: hsl(102, 71%, 22%)
HEX #286010 color: #286010
RGB rgb(40, 96, 16) color: rgb(40, 96, 16)
CMYK cmyk(58%, 0%, 83%, 62%)
HSV hsv(102, 83%, 38%)
HWB hwb(102 6% 62%) color: hwb(102 6% 62%)
OKLCH oklch(0.4346 0.1242 138.43) color: oklch(0.4346 0.1242 138.43)
Lab lab(35.7 -33.63 37.01) color: lab(35.7 -33.63 37.01)
LCH lch(35.7 50.01 132.26) color: lch(35.7 50.01 132.26)

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 7.58:1
vs Black 2.77: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)

#404123 — rgb(64, 65, 35)

Deuteranopia (Green-blind)

#3D3928 — rgb(61, 57, 40)

Tritanopia (Blue-blind)

#2B3336 — rgb(43, 51, 54)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(102, 71%, 22%);

text

color: hsl(102, 71%, 22%);

border

border: 2px solid hsl(102, 71%, 22%);

gradient light

background: linear-gradient(to right, hsl(102, 71%, 42%), hsl(102, 71%, 22%));

gradient dark

background: linear-gradient(to right, hsl(102, 71%, 22%), hsl(102, 71%, 2%))

hex

background-color: #286010;

tailwind

bg-[hsl(102,71%,22%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(102, 71%, 22%, 0.4);

css variable

--color-primary: hsl(102, 71%, 22%);

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(102, 71%, 22%)?

HEX: #286010 | RGB: rgb(40, 96, 16) | CMYK: 58%, 0%, 83%, 62% | HSV: 102°, 83%, 38%. Copy any format from the conversion table above.

What colors go well with #286010?

The complementary color is HSL(282, 71%, 22%). For a triadic harmony, use hues 102°, 222°, and 342°. For analogous combinations, try hues 72° and 132°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(102, 71%, 22%) in CSS?

As HSL: color: hsl(102, 71%, 22%); — As HEX: color: #286010; — As RGB: color: rgb(40, 96, 16); — Tailwind CSS: bg-[hsl(102,71%,22%)] — CSS variable: --color-primary: hsl(102, 71%, 22%);