HSL(65, 28%, 40%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(65,28%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(65, 28%, 40%) color: hsl(65, 28%, 40%)
HEX #7E8349 color: #7E8349
RGB rgb(126, 131, 73) color: rgb(126, 131, 73)
CMYK cmyk(4%, 0%, 44%, 49%)
HSV hsv(65, 44%, 51%)
HWB hwb(65 29% 49%) color: hwb(65 29% 49%)
OKLCH oklch(0.5919 0.0803 112.88) color: oklch(0.5919 0.0803 112.88)
Lab lab(53.11 -11.18 30.64) color: lab(53.11 -11.18 30.64)
LCH lch(53.11 32.62 110.05) color: lch(53.11 32.62 110.05)

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.02:1
vs Black 5.23:1

AA Normal (4.5:1)

on White: FAIL ✗ 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)

#808057 — rgb(128, 128, 87)

Deuteranopia (Green-blind)

#80805A — rgb(128, 128, 90)

Tritanopia (Blue-blind)

#7E6265 — rgb(126, 98, 101)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(65, 28%, 40%);

text

color: hsl(65, 28%, 40%);

border

border: 2px solid hsl(65, 28%, 40%);

gradient light

background: linear-gradient(to right, hsl(65, 28%, 60%), hsl(65, 28%, 40%));

gradient dark

background: linear-gradient(to right, hsl(65, 28%, 40%), hsl(65, 28%, 20%))

hex

background-color: #7E8349;

tailwind

bg-[hsl(65,28%,40%)]

box shadow

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

css variable

--color-primary: hsl(65, 28%, 40%);

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(65, 28%, 40%)?

HEX: #7E8349 | RGB: rgb(126, 131, 73) | CMYK: 4%, 0%, 44%, 49% | HSV: 65°, 44%, 51%. Copy any format from the conversion table above.

What colors go well with #7E8349?

The complementary color is HSL(245, 28%, 40%). For a triadic harmony, use hues 65°, 185°, and 305°. For analogous combinations, try hues 35° and 95°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(65, 28%, 40%) in CSS?

As HSL: color: hsl(65, 28%, 40%); — As HEX: color: #7E8349; — As RGB: color: rgb(126, 131, 73); — Tailwind CSS: bg-[hsl(65,28%,40%)] — CSS variable: --color-primary: hsl(65, 28%, 40%);