#508D60#508D60

#508D60 is a mid, moderate green. Relative luminance 0.216; OKLCH L 58.9% C 0.094 H 151.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#508D60
RGBrgb(80, 141, 96)
HSLhsl(136, 28%, 43%)
HSVhsv(136, 43%, 55%)
CMYKcmyk(43.3%, 0%, 31.9%, 44.7%)
CIE-LABlab(53.60, -30.13, 17.99)
CIE-LCHlch(53.60, 35.10, 149.16°)
OKLaboklab(58.94% -0.0822 0.0454)
OKLCHoklch(58.94% 0.094 151.1)
XYZxyz(14.9435, 21.5988, 14.4456)
Luminance0.2160 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D60 #8D507D
analogous
#5E8D50 #508D60 #508D7E
triadic
#508D60 #60508D #8D6050
tetradic
#508D60 #505E8D #8D507D #8D7E50
square
#508D60 #505E8D #8D507D #8D7E50
split-complementary
#508D60 #7E508D #8D505E
monochromatic
#243F2B #3A6645 #508D60 #6EAD7E #95C3A1

Accessibility & contrast

On white

3.95
#508D60 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#508D60 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D60
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D60#FFFFFF#000000##000000
##508D601.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E845D
Deuteranopia (green-blind)
#847E63
Tritanopia (blue-blind)
#458B81
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508d60;
/* rgb */ color: rgb(80, 141, 96);
/* oklch */ color: oklch(58.9% 0.094 151.1);
Tailwind
colors: {
  custom: {
    50: '#84af8d',
    500: '#508d60',
    950: '#000000',
  },
}
SCSS
$custom: #508d60;
$custom-light: #84af8d;
$custom-dark: #000000;
JSON
{
  "hex": "#508d60",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 96
  },
  "hsl": {
    "h": 135.738,
    "s": 27.602,
    "l": 43.333
  },
  "oklch": {
    "l": 0.58943,
    "c": 0.09396,
    "h": 151.1
  },
  "luminance": 0.216
}

Semantic roles & 50–950 ramp

primary
#508D60
secondary
#AF89A5
accent
#64ABC4
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B100C
muted
#7C7F7D

Preview Lab

Preview with #508D60

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

Preview Lab → · Contrast checker → · Palette generator →

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