HSL(68, 40%, 38%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(68,40%,38%)]

Color Conversions

Format Value CSS Usage
HSL hsl(68, 40%, 38%) color: hsl(68, 40%, 38%)
HEX #7D883A color: #7D883A
RGB rgb(125, 136, 58) color: rgb(125, 136, 58)
CMYK cmyk(8%, 0%, 57%, 47%)
HSV hsv(68, 57%, 53%)
HWB hwb(68 23% 47%) color: hwb(68 23% 47%)
OKLCH oklch(0.6007 0.1034 116.31) color: oklch(0.6007 0.1034 116.31)
Lab lab(54.32 -15.82 39.79) color: lab(54.32 -15.82 39.79)
LCH lch(54.32 42.82 111.68) color: lch(54.32 42.82 111.68)

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 3.85:1
vs Black 5.45: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)

#82824D — rgb(130, 130, 77)

Deuteranopia (Green-blind)

#818051 — rgb(129, 128, 81)

Tritanopia (Blue-blind)

#7E5C5F — rgb(126, 92, 95)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(68, 40%, 38%);

text

color: hsl(68, 40%, 38%);

border

border: 2px solid hsl(68, 40%, 38%);

gradient light

background: linear-gradient(to right, hsl(68, 40%, 58%), hsl(68, 40%, 38%));

gradient dark

background: linear-gradient(to right, hsl(68, 40%, 38%), hsl(68, 40%, 18%))

hex

background-color: #7D883A;

tailwind

bg-[hsl(68,40%,38%)]

box shadow

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

css variable

--color-primary: hsl(68, 40%, 38%);

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(68, 40%, 38%)?

HEX: #7D883A | RGB: rgb(125, 136, 58) | CMYK: 8%, 0%, 57%, 47% | HSV: 68°, 57%, 53%. Copy any format from the conversion table above.

What colors go well with #7D883A?

The complementary color is HSL(248, 40%, 38%). For a triadic harmony, use hues 68°, 188°, and 308°. For analogous combinations, try hues 38° and 98°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(68, 40%, 38%) in CSS?

As HSL: color: hsl(68, 40%, 38%); — As HEX: color: #7D883A; — As RGB: color: rgb(125, 136, 58); — Tailwind CSS: bg-[hsl(68,40%,38%)] — CSS variable: --color-primary: hsl(68, 40%, 38%);