#508D4F#508D4F

#508D4F is a mid, moderate green. Relative luminance 0.213; OKLCH L 58.6% C 0.112 H 143.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#508D4F
RGBrgb(80, 141, 79)
HSLhsl(119, 28%, 43%)
HSVhsv(119, 44%, 55%)
CMYKcmyk(43.3%, 0%, 44%, 44.7%)
CIE-LABlab(53.30, -33.11, 27.01)
CIE-LCHlch(53.30, 42.73, 140.79°)
OKLaboklab(58.6% -0.0902 0.0664)
OKLCHoklch(58.6% 0.112 143.7)
XYZxyz(14.2438, 21.3189, 10.7600)
Luminance0.2132 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D4F #8C4F8D
analogous
#6F8D4F #508D4F #4F8D6D
triadic
#508D4F #4F508D #8D4F50
tetradic
#508D4F #4F6F8D #8C4F8D #8D6D4F
square
#508D4F #4F6F8D #8C4F8D #8D6D4F
split-complementary
#508D4F #6D4F8D #8D4F6F
monochromatic
#233F23 #3A6639 #508D4F #6DAD6C #94C394

Accessibility & contrast

On white

3.99
#508D4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#508D4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D4F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D4F#FFFFFF#000000##000000
##508D4F1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F834A
Deuteranopia (green-blind)
#877D53
Tritanopia (blue-blind)
#498A7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508d4f;
/* rgb */ color: rgb(80, 141, 79);
/* oklch */ color: oklch(58.6% 0.112 143.7);
Tailwind
colors: {
  custom: {
    50: '#85af81',
    500: '#508d4f',
    950: '#000000',
  },
}
SCSS
$custom: #508d4f;
$custom-light: #85af81;
$custom-dark: #000000;
JSON
{
  "hex": "#508d4f",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 79
  },
  "hsl": {
    "h": 119.032,
    "s": 28.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.58598,
    "c": 0.11195,
    "h": 143.7
  },
  "luminance": 0.2132
}

Semantic roles & 50–950 ramp

primary
#508D4F
secondary
#AF88AF
accent
#63C4C3
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #508D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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