#508D62#508D62

#508D62 is a mid, moderate green. Relative luminance 0.216; OKLCH L 59.0% C 0.092 H 152.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#508D62
RGBrgb(80, 141, 98)
HSLhsl(138, 28%, 43%)
HSVhsv(138, 43%, 55%)
CMYKcmyk(43.3%, 0%, 30.5%, 44.7%)
CIE-LABlab(53.64, -29.74, 16.92)
CIE-LCHlch(53.64, 34.22, 150.37°)
OKLaboklab(58.99% -0.0813 0.0429)
OKLCHoklch(58.99% 0.092 152.2)
XYZxyz(15.0368, 21.6361, 14.9367)
Luminance0.2164 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D62 #8D507B
analogous
#5C8D50 #508D62 #508D80
triadic
#508D62 #62508D #8D6250
tetradic
#508D62 #505C8D #8D507B #8D8050
square
#508D62 #505C8D #8D507B #8D8050
split-complementary
#508D62 #80508D #8D505C
monochromatic
#243F2C #3A6647 #508D62 #6EAD80 #95C3A2

Accessibility & contrast

On white

3.94
#508D62 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#508D62 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D62
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D62#FFFFFF#000000##000000
##508D621.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D845F
Deuteranopia (green-blind)
#847E65
Tritanopia (blue-blind)
#448B82
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508d62;
/* rgb */ color: rgb(80, 141, 98);
/* oklch */ color: oklch(59.0% 0.092 152.2);
Tailwind
colors: {
  custom: {
    50: '#84af8f',
    500: '#508d62',
    950: '#000000',
  },
}
SCSS
$custom: #508d62;
$custom-light: #84af8f;
$custom-dark: #000000;
JSON
{
  "hex": "#508d62",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 98
  },
  "hsl": {
    "h": 137.705,
    "s": 27.602,
    "l": 43.333
  },
  "oklch": {
    "l": 0.58989,
    "c": 0.09188,
    "h": 152.2
  },
  "luminance": 0.21637
}

Semantic roles & 50–950 ramp

primary
#508D62
secondary
#AF89A4
accent
#64A8C4
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B100C
muted
#7C7F7D

Preview Lab

Preview with #508D62

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

Preview Lab → · Contrast checker → · Palette generator →

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