HSL(107, 31%, 38%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(107,31%,38%)]

Color Conversions

Format Value CSS Usage
HSL hsl(107, 31%, 38%) color: hsl(107, 31%, 38%)
HEX #507F43 color: #507F43
RGB rgb(80, 127, 67) color: rgb(80, 127, 67)
CMYK cmyk(37%, 0%, 47%, 50%)
HSV hsv(107, 47%, 50%)
HWB hwb(107 27% 50%) color: hwb(107 27% 50%)
OKLCH oklch(0.5473 0.1026 139.13) color: oklch(0.5473 0.1026 139.13)
Lab lab(48.62 -28.34 27.59) color: lab(48.62 -28.34 27.59)
LCH lch(48.62 39.55 135.77) color: lch(48.62 39.55 135.77)

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.71:1
vs Black 4.46:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#646552 — rgb(100, 101, 82)

Deuteranopia (Green-blind)

#625E55 — rgb(98, 94, 85)

Tritanopia (Blue-blind)

#525D60 — rgb(82, 93, 96)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(107, 31%, 38%);

text

color: hsl(107, 31%, 38%);

border

border: 2px solid hsl(107, 31%, 38%);

gradient light

background: linear-gradient(to right, hsl(107, 31%, 58%), hsl(107, 31%, 38%));

gradient dark

background: linear-gradient(to right, hsl(107, 31%, 38%), hsl(107, 31%, 18%))

hex

background-color: #507F43;

tailwind

bg-[hsl(107,31%,38%)]

box shadow

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

css variable

--color-primary: hsl(107, 31%, 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(107, 31%, 38%)?

HEX: #507F43 | RGB: rgb(80, 127, 67) | CMYK: 37%, 0%, 47%, 50% | HSV: 107°, 47%, 50%. Copy any format from the conversion table above.

What colors go well with #507F43?

The complementary color is HSL(287, 31%, 38%). For a triadic harmony, use hues 107°, 227°, and 347°. For analogous combinations, try hues 77° and 137°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(107, 31%, 38%) in CSS?

As HSL: color: hsl(107, 31%, 38%); — As HEX: color: #507F43; — As RGB: color: rgb(80, 127, 67); — Tailwind CSS: bg-[hsl(107,31%,38%)] — CSS variable: --color-primary: hsl(107, 31%, 38%);