#508E5D#508E5D

#508E5D is a mid, moderate green. Relative luminance 0.218; OKLCH L 59.1% C 0.099 H 149.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#508E5D
RGBrgb(80, 142, 93)
HSLhsl(133, 28%, 44%)
HSVhsv(133, 44%, 56%)
CMYKcmyk(43.7%, 0%, 34.5%, 44.3%)
CIE-LABlab(53.86, -31.17, 20.03)
CIE-LCHlch(53.86, 37.05, 147.28°)
OKLaboklab(59.14% -0.0849 0.0503)
OKLCHoklch(59.14% 0.099 149.4)
XYZxyz(14.9562, 21.8408, 13.7814)
Luminance0.2184 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E5D #8E5081
analogous
#628E50 #508E5D #508E7C
triadic
#508E5D #5D508E #8E5D50
tetradic
#508E5D #50628E #8E5081 #8E7C50
square
#508E5D #50628E #8E5081 #8E7C50
split-complementary
#508E5D #7C508E #8E5062
monochromatic
#24402A #3A6743 #508E5D #6EAD7B #95C39F

Accessibility & contrast

On white

3.91
#508E5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#508E5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508E5D
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508E5D#FFFFFF#000000##000000
##508E5D1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F855A
Deuteranopia (green-blind)
#867E60
Tritanopia (blue-blind)
#468C81
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #508e5d;
/* rgb */ color: rgb(80, 142, 93);
/* oklch */ color: oklch(59.1% 0.099 149.4);
Tailwind
colors: {
  custom: {
    50: '#84af8b',
    500: '#508e5d',
    950: '#000000',
  },
}
SCSS
$custom: #508e5d;
$custom-light: #84af8b;
$custom-dark: #000000;
JSON
{
  "hex": "#508e5d",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 93
  },
  "hsl": {
    "h": 132.581,
    "s": 27.928,
    "l": 43.529
  },
  "oklch": {
    "l": 0.59135,
    "c": 0.09871,
    "h": 149.4
  },
  "luminance": 0.21842
}

Semantic roles & 50–950 ramp

primary
#508E5D
secondary
#B08AA8
accent
#64B0C4
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B100C
muted
#7C7F7D

Preview Lab

Preview with #508E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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