#508D5C#508D5C

#508D5C is a mid, moderate green. Relative luminance 0.215; OKLCH L 58.9% C 0.098 H 149.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#508D5C
RGBrgb(80, 141, 92)
HSLhsl(132, 28%, 43%)
HSVhsv(132, 43%, 55%)
CMYKcmyk(43.3%, 0%, 34.8%, 44.7%)
CIE-LABlab(53.52, -30.88, 20.14)
CIE-LCHlch(53.52, 36.87, 146.90°)
OKLaboklab(58.86% -0.0841 0.0506)
OKLCHoklch(58.86% 0.098 149)
XYZxyz(14.7641, 21.5270, 13.5003)
Luminance0.2153 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D5C #8D5081
analogous
#628D50 #508D5C #508D7A
triadic
#508D5C #5C508D #8D5C50
tetradic
#508D5C #50628D #8D5081 #8D7A50
square
#508D5C #50628D #8D5081 #8D7A50
split-complementary
#508D5C #7A508D #8D5062
monochromatic
#243F29 #3A6643 #508D5C #6EAD7A #95C39E

Accessibility & contrast

On white

3.96
#508D5C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#508D5C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D5C
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D5C#FFFFFF#000000##000000
##508D5C1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8459
Deuteranopia (green-blind)
#857D5F
Tritanopia (blue-blind)
#468B80
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508d5c;
/* rgb */ color: rgb(80, 141, 92);
/* oklch */ color: oklch(58.9% 0.098 149.0);
Tailwind
colors: {
  custom: {
    50: '#84af8a',
    500: '#508d5c',
    950: '#000000',
  },
}
SCSS
$custom: #508d5c;
$custom-light: #84af8a;
$custom-dark: #000000;
JSON
{
  "hex": "#508d5c",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 92
  },
  "hsl": {
    "h": 131.803,
    "s": 27.602,
    "l": 43.333
  },
  "oklch": {
    "l": 0.58855,
    "c": 0.09816,
    "h": 149
  },
  "luminance": 0.21528
}

Semantic roles & 50–950 ramp

primary
#508D5C
secondary
#AF89A8
accent
#64B1C4
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B100C
muted
#7C7F7D

Preview Lab

Preview with #508D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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