#508D58#508D58

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

Color values

HEX#508D58
RGBrgb(80, 141, 88)
HSLhsl(128, 28%, 43%)
HSVhsv(128, 43%, 55%)
CMYKcmyk(43.3%, 0%, 37.6%, 44.7%)
CIE-LABlab(53.45, -31.61, 22.27)
CIE-LCHlch(53.45, 38.66, 144.83°)
OKLaboklab(58.77% -0.086 0.0556)
OKLCHoklch(58.77% 0.102 147.1)
XYZxyz(14.5938, 21.4589, 12.6036)
Luminance0.2146 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D58 #8D5085
analogous
#668D50 #508D58 #508D76
triadic
#508D58 #58508D #8D5850
tetradic
#508D58 #50668D #8D5085 #8D7650
square
#508D58 #50668D #8D5085 #8D7650
split-complementary
#508D58 #76508D #8D5066
monochromatic
#243F27 #3A6640 #508D58 #6EAD76 #95C39B

Accessibility & contrast

On white

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

On black

5.29
#508D58 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D58
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D58#FFFFFF#000000##000000
##508D581.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8354
Deuteranopia (green-blind)
#857D5B
Tritanopia (blue-blind)
#478A80
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508d58;
/* rgb */ color: rgb(80, 141, 88);
/* oklch */ color: oklch(58.8% 0.102 147.1);
Tailwind
colors: {
  custom: {
    50: '#84af87',
    500: '#508d58',
    950: '#000000',
  },
}
SCSS
$custom: #508d58;
$custom-light: #84af87;
$custom-dark: #000000;
JSON
{
  "hex": "#508d58",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 88
  },
  "hsl": {
    "h": 127.869,
    "s": 27.602,
    "l": 43.333
  },
  "oklch": {
    "l": 0.58771,
    "c": 0.1024,
    "h": 147.1
  },
  "luminance": 0.2146
}

Semantic roles & 50–950 ramp

primary
#508D58
secondary
#AF89AA
accent
#64B7C4
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B100B
muted
#7C7F7C

Preview Lab

Preview with #508D58

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

Preview Lab → · Contrast checker → · Palette generator →

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