#508E4A#508E4A

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

Color values

HEX#508E4A
RGBrgb(80, 142, 74)
HSLhsl(115, 31%, 42%)
HSVhsv(115, 48%, 56%)
CMYKcmyk(43.7%, 0%, 47.9%, 44.3%)
CIE-LABlab(53.54, -34.33, 30.00)
CIE-LCHlch(53.54, 45.60, 138.85°)
OKLaboklab(58.77% -0.0936 0.073)
OKLCHoklch(58.77% 0.119 142.1)
XYZxyz(14.2167, 21.5450, 9.8867)
Luminance0.2155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E4A #884A8E
analogous
#728E4A #508E4A #4A8E66
triadic
#508E4A #4A508E #8E4A50
tetradic
#508E4A #4A728E #884A8E #8E664A
square
#508E4A #4A728E #884A8E #8E664A
split-complementary
#508E4A #664A8E #8E4A72
monochromatic
#233E20 #396635 #508E4A #6CAF66 #93C48E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508E4A#FFFFFF#000000##000000
##508E4A1.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)
#918345
Deuteranopia (green-blind)
#887E4E
Tritanopia (blue-blind)
#4A8A7E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508e4a;
/* rgb */ color: rgb(80, 142, 74);
/* oklch */ color: oklch(58.8% 0.119 142.1);
Tailwind
colors: {
  custom: {
    50: '#85af7e',
    500: '#508e4a',
    950: '#000000',
  },
}
SCSS
$custom: #508e4a;
$custom-light: #85af7e;
$custom-dark: #000000;
JSON
{
  "hex": "#508e4a",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 74
  },
  "hsl": {
    "h": 114.706,
    "s": 31.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.58773,
    "c": 0.1187,
    "h": 142.1
  },
  "luminance": 0.21546
}

Semantic roles & 50–950 ramp

primary
#508E4A
secondary
#AC84B0
accent
#60C8BF
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #508E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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