#508617#508617

#508617 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.1% C 0.148 H 133.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#508617
RGBrgb(80, 134, 23)
HSLhsl(89, 71%, 31%)
HSVhsv(89, 83%, 53%)
CMYKcmyk(40.3%, 0%, 82.8%, 47.5%)
CIE-LABlab(50.47, -35.77, 49.19)
CIE-LCHlch(50.47, 60.82, 126.03°)
OKLaboklab(56.11% -0.101 0.1083)
OKLCHoklch(56.11% 0.148 133)
XYZxyz(11.9878, 18.8170, 3.8108)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508617 #4D1786
analogous
#868417 #508617 #188617
triadic
#508617 #175086 #861750
tetradic
#508617 #178684 #4D1786 #861718
square
#508617 #178684 #4D1786 #861718
split-complementary
#508617 #171886 #841786
monochromatic
#121E05 #31520E #508617 #6FBA20 #8EDD3A

Accessibility & contrast

On white

4.41
#508617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#508617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508617
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508617#FFFFFF#000000##000000
##5086171.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#508072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #508617;
/* rgb */ color: rgb(80, 134, 23);
/* oklch */ color: oklch(56.1% 0.148 133.0);
Tailwind
colors: {
  custom: {
    50: '#86a95f',
    500: '#508617',
    950: '#000000',
  },
}
SCSS
$custom: #508617;
$custom-light: #86a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#508617",
  "rgb": {
    "r": 80,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 89.189,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56108,
    "c": 0.14809,
    "h": 133
  },
  "luminance": 0.18818
}

Semantic roles & 50–950 ramp

primary
#508617
secondary
#7B3FBA
accent
#3AED91
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #508617

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

Preview Lab → · Contrast checker → · Palette generator →

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