#508D4B#508D4B

#508D4B is a mid, moderate green. Relative luminance 0.213; OKLCH L 58.5% C 0.116 H 142.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#508D4B
RGBrgb(80, 141, 75)
HSLhsl(115, 31%, 42%)
HSVhsv(115, 47%, 55%)
CMYKcmyk(43.3%, 0%, 46.8%, 44.7%)
CIE-LABlab(53.24, -33.73, 29.09)
CIE-LCHlch(53.24, 44.54, 139.22°)
OKLaboklab(58.53% -0.092 0.0709)
OKLCHoklch(58.53% 0.116 142.4)
XYZxyz(14.1025, 21.2624, 10.0162)
Luminance0.2126 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D4B #884B8D
analogous
#718D4B #508D4B #4B8D67
triadic
#508D4B #4B508D #8D4B50
tetradic
#508D4B #4B718D #884B8D #8D674B
square
#508D4B #4B718D #884B8D #8D674B
split-complementary
#508D4B #674B8D #8D4B71
monochromatic
#233D20 #396536 #508D4B #6CAE67 #93C38F

Accessibility & contrast

On white

4.00
#508D4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#508D4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D4B
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D4B#FFFFFF#000000##000000
##508D4B1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908346
Deuteranopia (green-blind)
#877D4F
Tritanopia (blue-blind)
#4A897D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508d4b;
/* rgb */ color: rgb(80, 141, 75);
/* oklch */ color: oklch(58.5% 0.116 142.4);
Tailwind
colors: {
  custom: {
    50: '#85af7e',
    500: '#508d4b',
    950: '#000000',
  },
}
SCSS
$custom: #508d4b;
$custom-light: #85af7e;
$custom-dark: #000000;
JSON
{
  "hex": "#508d4b",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 75
  },
  "hsl": {
    "h": 115.455,
    "s": 30.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.58528,
    "c": 0.11613,
    "h": 142.4
  },
  "luminance": 0.21263
}

Semantic roles & 50–950 ramp

primary
#508D4B
secondary
#AC84B0
accent
#61C7BF
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #508D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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