#508D5B#508D5B

#508D5B is a mid, moderate green. Relative luminance 0.215; OKLCH L 58.8% C 0.099 H 148.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#508D5B
RGBrgb(80, 141, 91)
HSLhsl(131, 28%, 43%)
HSVhsv(131, 43%, 55%)
CMYKcmyk(43.3%, 0%, 35.5%, 44.7%)
CIE-LABlab(53.50, -31.07, 20.67)
CIE-LCHlch(53.50, 37.31, 146.36°)
OKLaboklab(58.83% -0.0846 0.0518)
OKLCHoklch(58.83% 0.099 148.5)
XYZxyz(14.7206, 21.5096, 13.2716)
Luminance0.2151 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D5B #8D5082
analogous
#638D50 #508D5B #508D79
triadic
#508D5B #5B508D #8D5B50
tetradic
#508D5B #50638D #8D5082 #8D7950
square
#508D5B #50638D #8D5082 #8D7950
split-complementary
#508D5B #79508D #8D5063
monochromatic
#243F29 #3A6642 #508D5B #6EAD79 #95C39D

Accessibility & contrast

On white

3.96
#508D5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#508D5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D5B
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D5B#FFFFFF#000000##000000
##508D5B1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8458
Deuteranopia (green-blind)
#857D5E
Tritanopia (blue-blind)
#468B80
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508d5b;
/* rgb */ color: rgb(80, 141, 91);
/* oklch */ color: oklch(58.8% 0.099 148.5);
Tailwind
colors: {
  custom: {
    50: '#84af8a',
    500: '#508d5b',
    950: '#000000',
  },
}
SCSS
$custom: #508d5b;
$custom-light: #84af8a;
$custom-dark: #000000;
JSON
{
  "hex": "#508d5b",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 91
  },
  "hsl": {
    "h": 130.82,
    "s": 27.602,
    "l": 43.333
  },
  "oklch": {
    "l": 0.58834,
    "c": 0.09922,
    "h": 148.5
  },
  "luminance": 0.21511
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #508D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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