#508F5B#508F5B

#508F5B is a mid, moderate green. Relative luminance 0.221; OKLCH L 59.4% C 0.102 H 148.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#508F5B
RGBrgb(80, 143, 91)
HSLhsl(130, 28%, 44%)
HSVhsv(130, 44%, 56%)
CMYKcmyk(44.1%, 0%, 36.4%, 43.9%)
CIE-LABlab(54.14, -32.01, 21.52)
CIE-LCHlch(54.14, 38.57, 146.09°)
OKLaboklab(59.35% -0.0871 0.0538)
OKLCHoklch(59.35% 0.102 148.3)
XYZxyz(15.0182, 22.1047, 13.3708)
Luminance0.2211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F5B #8F5084
analogous
#648F50 #508F5B #508F7A
triadic
#508F5B #5B508F #8F5B50
tetradic
#508F5B #50648F #8F5084 #8F7A50
square
#508F5B #50648F #8F5084 #8F7A50
split-complementary
#508F5B #7A508F #8F5064
monochromatic
#244129 #3A6842 #508F5B #6EAE79 #95C49E

Accessibility & contrast

On white

3.87
#508F5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#508F5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F5B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F5B#FFFFFF#000000##000000
##508F5B1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908558
Deuteranopia (green-blind)
#877F5E
Tritanopia (blue-blind)
#468D82
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #508f5b;
/* rgb */ color: rgb(80, 143, 91);
/* oklch */ color: oklch(59.4% 0.102 148.3);
Tailwind
colors: {
  custom: {
    50: '#84b08a',
    500: '#508f5b',
    950: '#000000',
  },
}
SCSS
$custom: #508f5b;
$custom-light: #84b08a;
$custom-dark: #000000;
JSON
{
  "hex": "#508f5b",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 91
  },
  "hsl": {
    "h": 130.476,
    "s": 28.251,
    "l": 43.725
  },
  "oklch": {
    "l": 0.59351,
    "c": 0.10242,
    "h": 148.3
  },
  "luminance": 0.22106
}

Semantic roles & 50–950 ramp

primary
#508F5B
secondary
#B18AAA
accent
#63B4C5
background
#F8FAF8
surface
#EFF5F0
border
#CACFCB
text
#0B100B
muted
#7C7F7C

Preview Lab

Preview with #508F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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