#508116#508116

#508116 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.8% C 0.142 H 132.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#508116
RGBrgb(80, 129, 22)
HSLhsl(87, 71%, 30%)
HSVhsv(87, 83%, 51%)
CMYKcmyk(38%, 0%, 82.9%, 49.4%)
CIE-LABlab(48.84, -33.60, 47.99)
CIE-LCHlch(48.84, 58.58, 124.99°)
OKLaboklab(54.77% -0.0952 0.1056)
OKLCHoklch(54.77% 0.142 132)
XYZxyz(11.3032, 17.4634, 3.5341)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508116 #471681
analogous
#817D16 #508116 #1A8116
triadic
#508116 #165081 #811650
tetradic
#508116 #16817D #471681 #81161A
square
#508116 #16817D #471681 #81161A
split-complementary
#508116 #161A81 #7D1681
monochromatic
#101A04 #304D0D #508116 #70B51F #90DD35

Accessibility & contrast

On white

4.67
#508116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#508116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #508116
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508116#FFFFFF#000000##FFFFFF
##5081161.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#807322
Tritanopia (blue-blind)
#517B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #508116;
/* rgb */ color: rgb(80, 129, 22);
/* oklch */ color: oklch(54.8% 0.142 132.0);
Tailwind
colors: {
  custom: {
    50: '#86a65e',
    500: '#508116',
    950: '#000000',
  },
}
SCSS
$custom: #508116;
$custom-light: #86a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#508116",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 87.477,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5477,
    "c": 0.1422,
    "h": 132
  },
  "luminance": 0.17464
}

Semantic roles & 50–950 ramp

primary
#508116
secondary
#743DB6
accent
#3AEE8C
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #508116

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

Preview Lab → · Contrast checker → · Palette generator →

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