#508F4D#508F4D

#508F4D is a mid, moderate green. Relative luminance 0.219; OKLCH L 59.1% C 0.117 H 143.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#508F4D
RGBrgb(80, 143, 77)
HSLhsl(117, 30%, 43%)
HSVhsv(117, 46%, 56%)
CMYKcmyk(44.1%, 0%, 46.2%, 43.9%)
CIE-LABlab(53.91, -34.34, 28.86)
CIE-LCHlch(53.91, 44.86, 139.95°)
OKLaboklab(59.09% -0.0935 0.0705)
OKLCHoklch(59.09% 0.117 143)
XYZxyz(14.4696, 21.8853, 10.4816)
Luminance0.2189 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F4D #8C4D8F
analogous
#718F4D #508F4D #4D8F6B
triadic
#508F4D #4D508F #8F4D50
tetradic
#508F4D #4D718F #8C4D8F #8F6B4D
square
#508F4D #4D718F #8C4D8F #8F6B4D
split-complementary
#508F4D #6B4D8F #8F4D71
monochromatic
#233F22 #3A6738 #508F4D #6DAF6A #94C492

Accessibility & contrast

On white

3.91
#508F4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#508F4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F4D
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F4D#FFFFFF#000000##000000
##508F4D1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928448
Deuteranopia (green-blind)
#897F51
Tritanopia (blue-blind)
#498C7F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #508f4d;
/* rgb */ color: rgb(80, 143, 77);
/* oklch */ color: oklch(59.1% 0.117 143.0);
Tailwind
colors: {
  custom: {
    50: '#85b080',
    500: '#508f4d',
    950: '#000000',
  },
}
SCSS
$custom: #508f4d;
$custom-light: #85b080;
$custom-dark: #000000;
JSON
{
  "hex": "#508f4d",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 77
  },
  "hsl": {
    "h": 117.273,
    "s": 30,
    "l": 43.137
  },
  "oklch": {
    "l": 0.59085,
    "c": 0.11715,
    "h": 143
  },
  "luminance": 0.21886
}

Semantic roles & 50–950 ramp

primary
#508F4D
secondary
#AF87B1
accent
#62C6C2
background
#F8FAF7
surface
#EFF5EE
border
#CACFC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #508F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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