HSL(72, 90%, 18%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(72,90%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(72, 90%, 18%) color: hsl(72, 90%, 18%)
HEX #475705 color: #475705
RGB rgb(71, 87, 5) color: rgb(71, 87, 5)
CMYK cmyk(18%, 0%, 94%, 66%)
HSV hsv(72, 94%, 34%)
HWB hwb(72 2% 66%) color: hwb(72 2% 66%)
OKLCH oklch(0.4279 0.1003 121.35) color: oklch(0.4279 0.1003 121.35)
Lab lab(34.33 -17.47 39.9) color: lab(34.33 -17.47 39.9)
LCH lch(34.33 43.56 113.65) color: lch(34.33 43.56 113.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 7.97:1
vs Black 2.63: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)

#4E4E19 — rgb(78, 78, 25)

Deuteranopia (Green-blind)

#4D4C1E — rgb(77, 76, 30)

Tritanopia (Blue-blind)

#48292C — rgb(72, 41, 44)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(72, 90%, 18%);

text

color: hsl(72, 90%, 18%);

border

border: 2px solid hsl(72, 90%, 18%);

gradient light

background: linear-gradient(to right, hsl(72, 90%, 38%), hsl(72, 90%, 18%));

gradient dark

background: linear-gradient(to right, hsl(72, 90%, 18%), hsl(72, 90%, 0%))

hex

background-color: #475705;

tailwind

bg-[hsl(72,90%,18%)]

box shadow

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

css variable

--color-primary: hsl(72, 90%, 18%);

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(72, 90%, 18%)?

HEX: #475705 | RGB: rgb(71, 87, 5) | CMYK: 18%, 0%, 94%, 66% | HSV: 72°, 94%, 34%. Copy any format from the conversion table above.

What colors go well with #475705?

The complementary color is HSL(252, 90%, 18%). For a triadic harmony, use hues 72°, 192°, and 312°. For analogous combinations, try hues 42° and 102°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(72, 90%, 18%) in CSS?

As HSL: color: hsl(72, 90%, 18%); — As HEX: color: #475705; — As RGB: color: rgb(71, 87, 5); — Tailwind CSS: bg-[hsl(72,90%,18%)] — CSS variable: --color-primary: hsl(72, 90%, 18%);