#508E4D#508E4D

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

Color values

HEX#508E4D
RGBrgb(80, 142, 77)
HSLhsl(117, 30%, 43%)
HSVhsv(117, 46%, 56%)
CMYKcmyk(43.7%, 0%, 45.8%, 44.3%)
CIE-LABlab(53.59, -33.88, 28.46)
CIE-LCHlch(53.59, 44.25, 139.97°)
OKLaboklab(58.82% -0.0923 0.0696)
OKLCHoklch(58.82% 0.116 143)
XYZxyz(14.3202, 21.5864, 10.4318)
Luminance0.2159 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E4D #8B4D8E
analogous
#708E4D #508E4D #4D8E6A
triadic
#508E4D #4D508E #8E4D50
tetradic
#508E4D #4D708E #8B4D8E #8E6A4D
square
#508E4D #4D708E #8B4D8E #8E6A4D
split-complementary
#508E4D #6A4D8E #8E4D70
monochromatic
#233F22 #3A6637 #508E4D #6DAE6A #94C492

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508E4D#FFFFFF#000000##000000
##508E4D1.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)
#918448
Deuteranopia (green-blind)
#887E51
Tritanopia (blue-blind)
#498B7E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508e4d;
/* rgb */ color: rgb(80, 142, 77);
/* oklch */ color: oklch(58.8% 0.116 143.0);
Tailwind
colors: {
  custom: {
    50: '#85af80',
    500: '#508e4d',
    950: '#000000',
  },
}
SCSS
$custom: #508e4d;
$custom-light: #85af80;
$custom-dark: #000000;
JSON
{
  "hex": "#508e4d",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 77
  },
  "hsl": {
    "h": 117.231,
    "s": 29.68,
    "l": 42.941
  },
  "oklch": {
    "l": 0.58824,
    "c": 0.1156,
    "h": 143
  },
  "luminance": 0.21587
}

Semantic roles & 50–950 ramp

primary
#508E4D
secondary
#AE87B0
accent
#62C6C1
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #508E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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