#508019#508019

#508019 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.5% C 0.139 H 132.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#508019
RGBrgb(80, 128, 25)
HSLhsl(88, 67%, 30%)
HSVhsv(88, 80%, 50%)
CMYKcmyk(37.5%, 0%, 80.5%, 49.8%)
CIE-LABlab(48.53, -32.99, 46.76)
CIE-LCHlch(48.53, 57.22, 125.20°)
OKLaboklab(54.52% -0.0934 0.1035)
OKLCHoklch(54.52% 0.139 132)
XYZxyz(11.2028, 17.2135, 3.6518)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508019 #491980
analogous
#807C19 #508019 #1D8019
triadic
#508019 #195080 #801950
tetradic
#508019 #19807C #491980 #80191D
square
#508019 #19807C #491980 #80191D
split-complementary
#508019 #191D80 #7C1980
monochromatic
#101A05 #304D0F #508019 #70B323 #8FD93B

Accessibility & contrast

On white

4.73
#508019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#508019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #508019
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508019#FFFFFF#000000##FFFFFF
##5080191.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#517A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #508019;
/* rgb */ color: rgb(80, 128, 25);
/* oklch */ color: oklch(54.5% 0.139 132.0);
Tailwind
colors: {
  custom: {
    50: '#86a55f',
    500: '#508019',
    950: '#000000',
  },
}
SCSS
$custom: #508019;
$custom-light: #86a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#508019",
  "rgb": {
    "r": 80,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 87.961,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.54521,
    "c": 0.1394,
    "h": 132
  },
  "luminance": 0.17214
}

Semantic roles & 50–950 ramp

primary
#508019
secondary
#7641B4
accent
#3EEA8E
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #508019

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

Preview Lab → · Contrast checker → · Palette generator →

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