#508E5B#508E5B

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

Color values

HEX#508E5B
RGBrgb(80, 142, 91)
HSLhsl(131, 28%, 44%)
HSVhsv(131, 44%, 56%)
CMYKcmyk(43.7%, 0%, 35.9%, 44.3%)
CIE-LABlab(53.82, -31.54, 21.09)
CIE-LCHlch(53.82, 37.94, 146.22°)
OKLaboklab(59.09% -0.0859 0.0528)
OKLCHoklch(59.09% 0.101 148.4)
XYZxyz(14.8687, 21.8058, 13.3210)
Luminance0.2181 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E5B #8E5083
analogous
#648E50 #508E5B #508E7A
triadic
#508E5B #5B508E #8E5B50
tetradic
#508E5B #50648E #8E5083 #8E7A50
square
#508E5B #50648E #8E5083 #8E7A50
split-complementary
#508E5B #7A508E #8E5064
monochromatic
#244029 #3A6742 #508E5B #6EAD79 #95C39D

Accessibility & contrast

On white

3.92
#508E5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#508E5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508E5B
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508E5B#FFFFFF#000000##000000
##508E5B1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #508e5b;
/* rgb */ color: rgb(80, 142, 91);
/* oklch */ color: oklch(59.1% 0.101 148.4);
Tailwind
colors: {
  custom: {
    50: '#84af8a',
    500: '#508e5b',
    950: '#000000',
  },
}
SCSS
$custom: #508e5b;
$custom-light: #84af8a;
$custom-dark: #000000;
JSON
{
  "hex": "#508e5b",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 91
  },
  "hsl": {
    "h": 130.645,
    "s": 27.928,
    "l": 43.529
  },
  "oklch": {
    "l": 0.59092,
    "c": 0.10083,
    "h": 148.4
  },
  "luminance": 0.21807
}

Semantic roles & 50–950 ramp

primary
#508E5B
secondary
#B08AA9
accent
#64B3C4
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B100B
muted
#7C7F7C

Preview Lab

Preview with #508E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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