#508916#508916

#508916 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 56.9% C 0.152 H 133.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#508916
RGBrgb(80, 137, 22)
HSLhsl(90, 72%, 31%)
HSVhsv(90, 84%, 54%)
CMYKcmyk(41.6%, 0%, 83.9%, 46.3%)
CIE-LABlab(51.44, -37.13, 50.36)
CIE-LCHlch(51.44, 62.57, 126.40°)
OKLaboklab(56.9% -0.1047 0.1106)
OKLCHoklch(56.9% 0.152 133.4)
XYZxyz(12.3985, 19.6541, 3.8992)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508916 #4F1689
analogous
#898816 #508916 #168916
triadic
#508916 #165089 #891650
tetradic
#508916 #168988 #4F1689 #891616
square
#508916 #168988 #4F1689 #891616
split-complementary
#508916 #161689 #881689
monochromatic
#122005 #31540E #508916 #6FBE1E #8DDF3A

Accessibility & contrast

On white

4.26
#508916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#508916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508916
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508916#FFFFFF#000000##000000
##5089161.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#508374
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #508916;
/* rgb */ color: rgb(80, 137, 22);
/* oklch */ color: oklch(56.9% 0.152 133.4);
Tailwind
colors: {
  custom: {
    50: '#87ac5f',
    500: '#508916',
    950: '#000000',
  },
}
SCSS
$custom: #508916;
$custom-light: #87ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#508916",
  "rgb": {
    "r": 80,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 89.739,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56902,
    "c": 0.1523,
    "h": 133.4
  },
  "luminance": 0.19655
}

Semantic roles & 50–950 ramp

primary
#508916
secondary
#7D3EBD
accent
#39EF93
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #508916

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

Preview Lab → · Contrast checker → · Palette generator →

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