#508014#508014

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

Color values

HEX#508014
RGBrgb(80, 128, 20)
HSLhsl(87, 73%, 29%)
HSVhsv(87, 84%, 50%)
CMYKcmyk(37.5%, 0%, 84.4%, 49.8%)
CIE-LABlab(48.50, -33.24, 48.28)
CIE-LCHlch(48.50, 58.61, 124.55°)
OKLaboklab(54.49% -0.0944 0.1059)
OKLCHoklch(54.49% 0.142 131.7)
XYZxyz(11.1536, 17.1939, 3.3928)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508014 #441480
analogous
#807A14 #508014 #1A8014
triadic
#508014 #145080 #801450
tetradic
#508014 #14807A #441480 #80141A
square
#508014 #14807A #441480 #80141A
split-complementary
#508014 #141A80 #7A1480
monochromatic
#111A04 #2F4B0C #508014 #71B51C #91DF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508014#FFFFFF#000000##FFFFFF
##5080141.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)
#7F7221
Tritanopia (blue-blind)
#517A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #508014;
/* rgb */ color: rgb(80, 128, 20);
/* oklch */ color: oklch(54.5% 0.142 131.7);
Tailwind
colors: {
  custom: {
    50: '#86a55d',
    500: '#508014',
    950: '#000000',
  },
}
SCSS
$custom: #508014;
$custom-light: #86a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#508014",
  "rgb": {
    "r": 80,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 86.667,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54493,
    "c": 0.14185,
    "h": 131.7
  },
  "luminance": 0.17194
}

Semantic roles & 50–950 ramp

primary
#508014
secondary
#713BB5
accent
#38F08A
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #508014

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

Preview Lab → · Contrast checker → · Palette generator →

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