#508D4D#508D4D

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

Color values

HEX#508D4D
RGBrgb(80, 141, 77)
HSLhsl(117, 29%, 43%)
HSVhsv(117, 45%, 55%)
CMYKcmyk(43.3%, 0%, 45.4%, 44.7%)
CIE-LABlab(53.27, -33.42, 28.05)
CIE-LCHlch(53.27, 43.64, 139.99°)
OKLaboklab(58.56% -0.0911 0.0687)
OKLCHoklch(58.56% 0.114 143)
XYZxyz(14.1720, 21.2902, 10.3824)
Luminance0.2129 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D4D #8A4D8D
analogous
#708D4D #508D4D #4D8D6A
triadic
#508D4D #4D508D #8D4D50
tetradic
#508D4D #4D708D #8A4D8D #8D6A4D
square
#508D4D #4D708D #8A4D8D #8D6A4D
split-complementary
#508D4D #6A4D8D #8D4D70
monochromatic
#233E22 #3A6537 #508D4D #6DAD6A #94C391

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508D4D#FFFFFF#000000##000000
##508D4D1.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)
#908348
Deuteranopia (green-blind)
#877D51
Tritanopia (blue-blind)
#498A7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508d4d;
/* rgb */ color: rgb(80, 141, 77);
/* oklch */ color: oklch(58.6% 0.114 143.0);
Tailwind
colors: {
  custom: {
    50: '#85af80',
    500: '#508d4d',
    950: '#000000',
  },
}
SCSS
$custom: #508d4d;
$custom-light: #85af80;
$custom-dark: #000000;
JSON
{
  "hex": "#508d4d",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 77
  },
  "hsl": {
    "h": 117.188,
    "s": 29.358,
    "l": 42.745
  },
  "oklch": {
    "l": 0.58563,
    "c": 0.11405,
    "h": 143
  },
  "luminance": 0.21291
}

Semantic roles & 50–950 ramp

primary
#508D4D
secondary
#AE86AF
accent
#62C6C1
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #508D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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