#508D5E#508D5E

#508D5E is a mid, moderate green. Relative luminance 0.216; OKLCH L 58.9% C 0.096 H 150.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#508D5E
RGBrgb(80, 141, 94)
HSLhsl(134, 28%, 43%)
HSVhsv(134, 43%, 55%)
CMYKcmyk(43.3%, 0%, 33.3%, 44.7%)
CIE-LABlab(53.56, -30.51, 19.06)
CIE-LCHlch(53.56, 35.98, 148.00°)
OKLaboklab(58.9% -0.0832 0.048)
OKLCHoklch(58.9% 0.096 150)
XYZxyz(14.8526, 21.5624, 13.9668)
Luminance0.2156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D5E #8D507F
analogous
#608D50 #508D5E #508D7C
triadic
#508D5E #5E508D #8D5E50
tetradic
#508D5E #50608D #8D507F #8D7C50
square
#508D5E #50608D #8D507F #8D7C50
split-complementary
#508D5E #7C508D #8D5060
monochromatic
#243F2A #3A6644 #508D5E #6EAD7C #95C39F

Accessibility & contrast

On white

3.95
#508D5E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#508D5E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D5E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D5E#FFFFFF#000000##000000
##508D5E1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E845B
Deuteranopia (green-blind)
#857E61
Tritanopia (blue-blind)
#458B81
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508d5e;
/* rgb */ color: rgb(80, 141, 94);
/* oklch */ color: oklch(58.9% 0.096 150.0);
Tailwind
colors: {
  custom: {
    50: '#84af8c',
    500: '#508d5e',
    950: '#000000',
  },
}
SCSS
$custom: #508d5e;
$custom-light: #84af8c;
$custom-dark: #000000;
JSON
{
  "hex": "#508d5e",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 94
  },
  "hsl": {
    "h": 133.77,
    "s": 27.602,
    "l": 43.333
  },
  "oklch": {
    "l": 0.58899,
    "c": 0.09605,
    "h": 150
  },
  "luminance": 0.21563
}

Semantic roles & 50–950 ramp

primary
#508D5E
secondary
#AF89A7
accent
#64AEC4
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B100C
muted
#7C7F7D

Preview Lab

Preview with #508D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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