#508716#508716

#508716 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.4% C 0.150 H 133.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#508716
RGBrgb(80, 135, 22)
HSLhsl(89, 72%, 31%)
HSVhsv(89, 84%, 53%)
CMYKcmyk(40.7%, 0%, 83.7%, 47.1%)
CIE-LABlab(50.79, -36.26, 49.77)
CIE-LCHlch(50.79, 61.58, 126.07°)
OKLaboklab(56.37% -0.1024 0.1094)
OKLCHoklch(56.37% 0.15 133.1)
XYZxyz(12.1169, 19.0908, 3.8053)
Luminance0.1909 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508716 #4D1687
analogous
#878516 #508716 #178716
triadic
#508716 #165087 #871650
tetradic
#508716 #168785 #4D1687 #871617
square
#508716 #168785 #4D1687 #871617
split-complementary
#508716 #161787 #851687
monochromatic
#121E05 #31520D #508716 #6FBC1F #8EDF39

Accessibility & contrast

On white

4.36
#508716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#508716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508716
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508716#FFFFFF#000000##000000
##5087161.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#508173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #508716;
/* rgb */ color: rgb(80, 135, 22);
/* oklch */ color: oklch(56.4% 0.150 133.1);
Tailwind
colors: {
  custom: {
    50: '#87aa5f',
    500: '#508716',
    950: '#000000',
  },
}
SCSS
$custom: #508716;
$custom-light: #87aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#508716",
  "rgb": {
    "r": 80,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 89.204,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56369,
    "c": 0.14981,
    "h": 133.1
  },
  "luminance": 0.19091
}

Semantic roles & 50–950 ramp

primary
#508716
secondary
#7B3EBB
accent
#39EF91
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #508716

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

Preview Lab → · Contrast checker → · Palette generator →

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