#508F5D#508F5D

#508F5D is a mid, moderate green. Relative luminance 0.221; OKLCH L 59.4% C 0.100 H 149.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#508F5D
RGBrgb(80, 143, 93)
HSLhsl(132, 28%, 44%)
HSVhsv(132, 44%, 56%)
CMYKcmyk(44.1%, 0%, 35%, 43.9%)
CIE-LABlab(54.17, -31.64, 20.45)
CIE-LCHlch(54.17, 37.68, 147.12°)
OKLaboklab(59.39% -0.0862 0.0513)
OKLCHoklch(59.39% 0.1 149.2)
XYZxyz(15.1056, 22.1397, 13.8312)
Luminance0.2214 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F5D #8F5082
analogous
#628F50 #508F5D #508F7C
triadic
#508F5D #5D508F #8F5D50
tetradic
#508F5D #50628F #8F5082 #8F7C50
square
#508F5D #50628F #8F5082 #8F7C50
split-complementary
#508F5D #7C508F #8F5062
monochromatic
#24412A #3A6843 #508F5D #6EAE7B #95C49F

Accessibility & contrast

On white

3.87
#508F5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#508F5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F5D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F5D#FFFFFF#000000##000000
##508F5D1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90855A
Deuteranopia (green-blind)
#877F60
Tritanopia (blue-blind)
#458D82
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #508f5d;
/* rgb */ color: rgb(80, 143, 93);
/* oklch */ color: oklch(59.4% 0.100 149.2);
Tailwind
colors: {
  custom: {
    50: '#84b08b',
    500: '#508f5d',
    950: '#000000',
  },
}
SCSS
$custom: #508f5d;
$custom-light: #84b08b;
$custom-dark: #000000;
JSON
{
  "hex": "#508f5d",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 93
  },
  "hsl": {
    "h": 132.381,
    "s": 28.251,
    "l": 43.725
  },
  "oklch": {
    "l": 0.59393,
    "c": 0.10032,
    "h": 149.2
  },
  "luminance": 0.22141
}

Semantic roles & 50–950 ramp

primary
#508F5D
secondary
#B18AA9
accent
#63B0C5
background
#F8FAF8
surface
#EFF5F0
border
#CACFCB
text
#0B100C
muted
#7C7F7D

Preview Lab

Preview with #508F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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