#508D5D#508D5D

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

Color values

HEX#508D5D
RGBrgb(80, 141, 93)
HSLhsl(133, 28%, 43%)
HSVhsv(133, 43%, 55%)
CMYKcmyk(43.3%, 0%, 34%, 44.7%)
CIE-LABlab(53.54, -30.70, 19.60)
CIE-LCHlch(53.54, 36.42, 147.44°)
OKLaboklab(58.88% -0.0837 0.0493)
OKLCHoklch(58.88% 0.097 149.5)
XYZxyz(14.8081, 21.5446, 13.7320)
Luminance0.2155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D5D #8D5080
analogous
#618D50 #508D5D #508D7B
triadic
#508D5D #5D508D #8D5D50
tetradic
#508D5D #50618D #8D5080 #8D7B50
square
#508D5D #50618D #8D5080 #8D7B50
split-complementary
#508D5D #7B508D #8D5061
monochromatic
#243F29 #3A6643 #508D5D #6EAD7B #95C39F

Accessibility & contrast

On white

3.96
#508D5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##508D5D#FFFFFF#000000##000000
##508D5D1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E845A
Deuteranopia (green-blind)
#857D60
Tritanopia (blue-blind)
#468B81
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508d5d;
/* rgb */ color: rgb(80, 141, 93);
/* oklch */ color: oklch(58.9% 0.097 149.5);
Tailwind
colors: {
  custom: {
    50: '#84af8b',
    500: '#508d5d',
    950: '#000000',
  },
}
SCSS
$custom: #508d5d;
$custom-light: #84af8b;
$custom-dark: #000000;
JSON
{
  "hex": "#508d5d",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 93
  },
  "hsl": {
    "h": 132.787,
    "s": 27.602,
    "l": 43.333
  },
  "oklch": {
    "l": 0.58877,
    "c": 0.09711,
    "h": 149.5
  },
  "luminance": 0.21546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #508D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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