#508517#508517

#508517 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.8% C 0.147 H 132.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#508517
RGBrgb(80, 133, 23)
HSLhsl(89, 71%, 31%)
HSVhsv(89, 83%, 52%)
CMYKcmyk(39.8%, 0%, 82.7%, 47.8%)
CIE-LABlab(50.15, -35.33, 48.89)
CIE-LCHlch(50.15, 60.32, 125.85°)
OKLaboklab(55.84% -0.0998 0.1077)
OKLCHoklch(55.84% 0.147 132.8)
XYZxyz(11.8503, 18.5418, 3.7650)
Luminance0.1854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508517 #4C1785
analogous
#858317 #508517 #198517
triadic
#508517 #175085 #851750
tetradic
#508517 #178583 #4C1785 #851719
square
#508517 #178583 #4C1785 #851719
split-complementary
#508517 #171985 #831785
monochromatic
#111D05 #31510E #508517 #6FB920 #8EDD3A

Accessibility & contrast

On white

4.46
#508517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#508517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508517
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508517#FFFFFF#000000##000000
##5085171.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#507F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #508517;
/* rgb */ color: rgb(80, 133, 23);
/* oklch */ color: oklch(55.8% 0.147 132.8);
Tailwind
colors: {
  custom: {
    50: '#86a95f',
    500: '#508517',
    950: '#000000',
  },
}
SCSS
$custom: #508517;
$custom-light: #86a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#508517",
  "rgb": {
    "r": 80,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 88.909,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55842,
    "c": 0.14682,
    "h": 132.8
  },
  "luminance": 0.18542
}

Semantic roles & 50–950 ramp

primary
#508517
secondary
#7A3FB9
accent
#3BED91
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #508517

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

Preview Lab → · Contrast checker → · Palette generator →

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