#508E4B#508E4B

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

Color values

HEX#508E4B
RGBrgb(80, 142, 75)
HSLhsl(116, 31%, 43%)
HSVhsv(116, 47%, 56%)
CMYKcmyk(43.7%, 0%, 47.2%, 44.3%)
CIE-LABlab(53.56, -34.18, 29.49)
CIE-LCHlch(53.56, 45.15, 139.21°)
OKLaboklab(58.79% -0.0932 0.0718)
OKLCHoklch(58.79% 0.118 142.4)
XYZxyz(14.2506, 21.5586, 10.0656)
Luminance0.2156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E4B #894B8E
analogous
#728E4B #508E4B #4B8E67
triadic
#508E4B #4B508E #8E4B50
tetradic
#508E4B #4B728E #894B8E #8E674B
square
#508E4B #4B728E #894B8E #8E674B
split-complementary
#508E4B #674B8E #8E4B72
monochromatic
#233E21 #396636 #508E4B #6DAF67 #93C48F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508E4B#FFFFFF#000000##000000
##508E4B1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918446
Deuteranopia (green-blind)
#887E4F
Tritanopia (blue-blind)
#498A7E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508e4b;
/* rgb */ color: rgb(80, 142, 75);
/* oklch */ color: oklch(58.8% 0.118 142.4);
Tailwind
colors: {
  custom: {
    50: '#85af7e',
    500: '#508e4b',
    950: '#000000',
  },
}
SCSS
$custom: #508e4b;
$custom-light: #85af7e;
$custom-dark: #000000;
JSON
{
  "hex": "#508e4b",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 75
  },
  "hsl": {
    "h": 115.522,
    "s": 30.876,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5879,
    "c": 0.11767,
    "h": 142.4
  },
  "luminance": 0.21559
}

Semantic roles & 50–950 ramp

primary
#508E4B
secondary
#AD85B0
accent
#61C7BF
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #508E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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