#508D59#508D59

#508D59 is a mid, moderate green. Relative luminance 0.215; OKLCH L 58.8% C 0.101 H 147.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#508D59
RGBrgb(80, 141, 89)
HSLhsl(129, 28%, 43%)
HSVhsv(129, 43%, 55%)
CMYKcmyk(43.3%, 0%, 36.9%, 44.7%)
CIE-LABlab(53.47, -31.43, 21.74)
CIE-LCHlch(53.47, 38.21, 145.33°)
OKLaboklab(58.79% -0.0856 0.0543)
OKLCHoklch(58.79% 0.101 147.6)
XYZxyz(14.6355, 21.4756, 12.8233)
Luminance0.2148 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D59 #8D5084
analogous
#658D50 #508D59 #508D77
triadic
#508D59 #59508D #8D5950
tetradic
#508D59 #50658D #8D5084 #8D7750
square
#508D59 #50658D #8D5084 #8D7750
split-complementary
#508D59 #77508D #8D5065
monochromatic
#243F28 #3A6640 #508D59 #6EAD77 #95C39B

Accessibility & contrast

On white

3.97
#508D59 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#508D59 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D59
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D59#FFFFFF#000000##000000
##508D591.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8356
Deuteranopia (green-blind)
#857D5C
Tritanopia (blue-blind)
#478B80
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508d59;
/* rgb */ color: rgb(80, 141, 89);
/* oklch */ color: oklch(58.8% 0.101 147.6);
Tailwind
colors: {
  custom: {
    50: '#84af88',
    500: '#508d59',
    950: '#000000',
  },
}
SCSS
$custom: #508d59;
$custom-light: #84af88;
$custom-dark: #000000;
JSON
{
  "hex": "#508d59",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 89
  },
  "hsl": {
    "h": 128.852,
    "s": 27.602,
    "l": 43.333
  },
  "oklch": {
    "l": 0.58792,
    "c": 0.10135,
    "h": 147.6
  },
  "luminance": 0.21476
}

Semantic roles & 50–950 ramp

primary
#508D59
secondary
#AF89AA
accent
#64B6C4
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B100B
muted
#7C7F7C

Preview Lab

Preview with #508D59

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

Preview Lab → · Contrast checker → · Palette generator →

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