#508519#508519

#508519 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 55.9% C 0.146 H 133.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#508519
RGBrgb(80, 133, 25)
HSLhsl(89, 68%, 31%)
HSVhsv(89, 81%, 52%)
CMYKcmyk(39.8%, 0%, 81.2%, 47.8%)
CIE-LABlab(50.16, -35.23, 48.28)
CIE-LCHlch(50.16, 59.77, 126.12°)
OKLaboklab(55.85% -0.0994 0.1067)
OKLCHoklch(55.85% 0.146 133)
XYZxyz(11.8711, 18.5502, 3.8746)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508519 #4E1985
analogous
#858419 #508519 #1A8519
triadic
#508519 #195085 #851950
tetradic
#508519 #198584 #4E1985 #85191A
square
#508519 #198584 #4E1985 #85191A
split-complementary
#508519 #191A85 #841985
monochromatic
#121E06 #31510F #508519 #6FB923 #8EDB3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508519#FFFFFF#000000##000000
##5085191.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)
#847625
Tritanopia (blue-blind)
#507F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #508519;
/* rgb */ color: rgb(80, 133, 25);
/* oklch */ color: oklch(55.9% 0.146 133.0);
Tailwind
colors: {
  custom: {
    50: '#86a960',
    500: '#508519',
    950: '#000000',
  },
}
SCSS
$custom: #508519;
$custom-light: #86a960;
$custom-dark: #000000;
JSON
{
  "hex": "#508519",
  "rgb": {
    "r": 80,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 89.444,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55853,
    "c": 0.14584,
    "h": 133
  },
  "luminance": 0.18551
}

Semantic roles & 50–950 ramp

primary
#508519
secondary
#7C41B9
accent
#3DEB92
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #508519

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

Preview Lab → · Contrast checker → · Palette generator →

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