#508D4A#508D4A

#508D4A is a mid, moderate green. Relative luminance 0.212; OKLCH L 58.5% C 0.117 H 142.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#508D4A
RGBrgb(80, 141, 74)
HSLhsl(115, 31%, 42%)
HSVhsv(115, 48%, 55%)
CMYKcmyk(43.3%, 0%, 47.5%, 44.7%)
CIE-LABlab(53.22, -33.88, 29.60)
CIE-LCHlch(53.22, 44.99, 138.85°)
OKLaboklab(58.51% -0.0924 0.072)
OKLCHoklch(58.51% 0.117 142.1)
XYZxyz(14.0686, 21.2488, 9.8374)
Luminance0.2125 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D4A #874A8D
analogous
#728D4A #508D4A #4A8D66
triadic
#508D4A #4A508D #8D4A50
tetradic
#508D4A #4A728D #874A8D #8D664A
square
#508D4A #4A728D #874A8D #8D664A
split-complementary
#508D4A #664A8D #8D4A72
monochromatic
#223D20 #396535 #508D4A #6CAF66 #93C48E

Accessibility & contrast

On white

4.00
#508D4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#508D4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D4A
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D4A#FFFFFF#000000##000000
##508D4A1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908345
Deuteranopia (green-blind)
#877D4E
Tritanopia (blue-blind)
#4A897D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508d4a;
/* rgb */ color: rgb(80, 141, 74);
/* oklch */ color: oklch(58.5% 0.117 142.1);
Tailwind
colors: {
  custom: {
    50: '#85af7e',
    500: '#508d4a',
    950: '#000000',
  },
}
SCSS
$custom: #508d4a;
$custom-light: #85af7e;
$custom-dark: #000000;
JSON
{
  "hex": "#508d4a",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 74
  },
  "hsl": {
    "h": 114.627,
    "s": 31.163,
    "l": 42.157
  },
  "oklch": {
    "l": 0.58512,
    "c": 0.11716,
    "h": 142.1
  },
  "luminance": 0.2125
}

Semantic roles & 50–950 ramp

primary
#508D4A
secondary
#AC83B0
accent
#60C7BE
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #508D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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