#508D41#508D41

#508D41 is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.4% C 0.126 H 139.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#508D41
RGBrgb(80, 141, 65)
HSLhsl(108, 37%, 40%)
HSVhsv(108, 54%, 55%)
CMYKcmyk(43.3%, 0%, 53.9%, 44.7%)
CIE-LABlab(53.10, -35.13, 34.15)
CIE-LCHlch(53.10, 48.99, 135.80°)
OKLaboklab(58.37% -0.0962 0.0816)
OKLCHoklch(58.37% 0.126 139.7)
XYZxyz(13.7868, 21.1361, 8.3532)
Luminance0.2114 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D41 #7E418D
analogous
#768D41 #508D41 #418D58
triadic
#508D41 #41508D #8D4150
tetradic
#508D41 #41768D #7E418D #8D5841
square
#508D41 #41768D #7E418D #8D5841
split-complementary
#508D41 #58418D #8D4176
monochromatic
#20391A #38632E #508D41 #6AB259 #90C683

Accessibility & contrast

On white

4.02
#508D41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#508D41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D41
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D41#FFFFFF#000000##000000
##508D411.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91823A
Deuteranopia (green-blind)
#887D46
Tritanopia (blue-blind)
#4B897C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508d41;
/* rgb */ color: rgb(80, 141, 65);
/* oklch */ color: oklch(58.4% 0.126 139.7);
Tailwind
colors: {
  custom: {
    50: '#85af77',
    500: '#508d41',
    950: '#000000',
  },
}
SCSS
$custom: #508d41;
$custom-light: #85af77;
$custom-dark: #000000;
JSON
{
  "hex": "#508d41",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 65
  },
  "hsl": {
    "h": 108.158,
    "s": 36.893,
    "l": 40.392
  },
  "oklch": {
    "l": 0.58372,
    "c": 0.12619,
    "h": 139.7
  },
  "luminance": 0.21137
}

Semantic roles & 50–950 ramp

primary
#508D41
secondary
#A579B0
accent
#5BCDB6
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508D41

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#508D41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva