HSL(66, 40%, 22%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(66,40%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(66, 40%, 22%) color: hsl(66, 40%, 22%)
HEX #4A4F22 color: #4A4F22
RGB rgb(74, 79, 34) color: rgb(74, 79, 34)
CMYK cmyk(6%, 0%, 57%, 69%)
HSV hsv(67, 57%, 31%)
HWB hwb(67 13% 69%) color: hwb(67 13% 69%)
OKLCH oklch(0.412 0.0663 114.6) color: oklch(0.412 0.0663 114.6)
Lab lab(32.18 -9.58 25.58) color: lab(32.18 -9.58 25.58)
LCH lch(32.18 27.32 110.53) color: lch(32.18 27.32 110.53)

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 8.63:1
vs Black 2.43: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)

#4C4C2D — rgb(76, 76, 45)

Deuteranopia (Green-blind)

#4C4C30 — rgb(76, 76, 48)

Tritanopia (Blue-blind)

#4A3537 — rgb(74, 53, 55)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(66, 40%, 22%);

text

color: hsl(66, 40%, 22%);

border

border: 2px solid hsl(66, 40%, 22%);

gradient light

background: linear-gradient(to right, hsl(66, 40%, 42%), hsl(66, 40%, 22%));

gradient dark

background: linear-gradient(to right, hsl(66, 40%, 22%), hsl(66, 40%, 2%))

hex

background-color: #4A4F22;

tailwind

bg-[hsl(66,40%,22%)]

box shadow

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

css variable

--color-primary: hsl(66, 40%, 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(66, 40%, 22%)?

HEX: #4A4F22 | RGB: rgb(74, 79, 34) | CMYK: 6%, 0%, 57%, 69% | HSV: 67°, 57%, 31%. Copy any format from the conversion table above.

What colors go well with #4A4F22?

The complementary color is HSL(246, 40%, 22%). For a triadic harmony, use hues 66°, 186°, and 306°. For analogous combinations, try hues 36° and 96°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(66, 40%, 22%) in CSS?

As HSL: color: hsl(66, 40%, 22%); — As HEX: color: #4A4F22; — As RGB: color: rgb(74, 79, 34); — Tailwind CSS: bg-[hsl(66,40%,22%)] — CSS variable: --color-primary: hsl(66, 40%, 22%);