#508016#508016

#508016 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.5% C 0.141 H 131.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#508016
RGBrgb(80, 128, 22)
HSLhsl(87, 71%, 29%)
HSVhsv(87, 83%, 50%)
CMYKcmyk(37.5%, 0%, 82.8%, 49.8%)
CIE-LABlab(48.51, -33.15, 47.70)
CIE-LCHlch(48.51, 58.08, 124.80°)
OKLaboklab(54.5% -0.094 0.105)
OKLCHoklch(54.5% 0.141 131.8)
XYZxyz(11.1721, 17.2013, 3.4904)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508016 #461680
analogous
#807B16 #508016 #1B8016
triadic
#508016 #165080 #801650
tetradic
#508016 #16807B #461680 #80161B
square
#508016 #16807B #461680 #80161B
split-complementary
#508016 #161B80 #7B1680
monochromatic
#101A04 #2F4C0D #508016 #71B41F #90DC34

Accessibility & contrast

On white

4.73
#508016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#508016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #508016
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508016#FFFFFF#000000##FFFFFF
##5080161.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7F7222
Tritanopia (blue-blind)
#517A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #508016;
/* rgb */ color: rgb(80, 128, 22);
/* oklch */ color: oklch(54.5% 0.141 131.8);
Tailwind
colors: {
  custom: {
    50: '#86a55e',
    500: '#508016',
    950: '#000000',
  },
}
SCSS
$custom: #508016;
$custom-light: #86a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#508016",
  "rgb": {
    "r": 80,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 87.17,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54504,
    "c": 0.14092,
    "h": 131.8
  },
  "luminance": 0.17202
}

Semantic roles & 50–950 ramp

primary
#508016
secondary
#733DB5
accent
#3AED8B
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #508016

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

Preview Lab → · Contrast checker → · Palette generator →

#508016 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva