#508F4A#508F4A

#508F4A is a mid, vivid green. Relative luminance 0.218; OKLCH L 59.0% C 0.120 H 142.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#508F4A
RGBrgb(80, 143, 74)
HSLhsl(115, 32%, 43%)
HSVhsv(115, 48%, 56%)
CMYKcmyk(44.1%, 0%, 48.3%, 43.9%)
CIE-LABlab(53.86, -34.78, 30.41)
CIE-LCHlch(53.86, 46.20, 138.84°)
OKLaboklab(59.03% -0.0949 0.0739)
OKLCHoklch(59.03% 0.12 142.1)
XYZxyz(14.3661, 21.8439, 9.9365)
Luminance0.2185 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F4A #894A8F
analogous
#728F4A #508F4A #4A8F67
triadic
#508F4A #4A508F #8F4A50
tetradic
#508F4A #4A728F #894A8F #8F674A
square
#508F4A #4A728F #894A8F #8F674A
split-complementary
#508F4A #674A8F #8F4A72
monochromatic
#233E20 #396735 #508F4A #6DB066 #93C58F

Accessibility & contrast

On white

3.91
#508F4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#508F4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F4A
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F4A#FFFFFF#000000##000000
##508F4A1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928444
Deuteranopia (green-blind)
#897F4F
Tritanopia (blue-blind)
#498B7F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #508f4a;
/* rgb */ color: rgb(80, 143, 74);
/* oklch */ color: oklch(59.0% 0.120 142.1);
Tailwind
colors: {
  custom: {
    50: '#85b07e',
    500: '#508f4a',
    950: '#000000',
  },
}
SCSS
$custom: #508f4a;
$custom-light: #85b07e;
$custom-dark: #000000;
JSON
{
  "hex": "#508f4a",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 74
  },
  "hsl": {
    "h": 114.783,
    "s": 31.797,
    "l": 42.549
  },
  "oklch": {
    "l": 0.59034,
    "c": 0.12023,
    "h": 142.1
  },
  "luminance": 0.21845
}

Semantic roles & 50–950 ramp

primary
#508F4A
secondary
#AD84B1
accent
#60C8BF
background
#F8FAF7
surface
#EFF5EE
border
#CACFC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #508F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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