#508013#508013

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

Color values

HEX#508013
RGBrgb(80, 128, 19)
HSLhsl(86, 74%, 29%)
HSVhsv(86, 85%, 50%)
CMYKcmyk(37.5%, 0%, 85.2%, 49.8%)
CIE-LABlab(48.50, -33.29, 48.56)
CIE-LCHlch(48.50, 58.87, 124.43°)
OKLaboklab(54.49% -0.0946 0.1063)
OKLCHoklch(54.49% 0.142 131.6)
XYZxyz(11.1449, 17.1904, 3.3468)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508013 #431380
analogous
#807A13 #508013 #1A8013
triadic
#508013 #135080 #801350
tetradic
#508013 #13807A #431380 #80131A
square
#508013 #13807A #431380 #80131A
split-complementary
#508013 #131A80 #7A1380
monochromatic
#111B04 #2F4B0B #508013 #71B51B #91E02D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #508013;
/* rgb */ color: rgb(80, 128, 19);
/* oklch */ color: oklch(54.5% 0.142 131.6);
Tailwind
colors: {
  custom: {
    50: '#86a55d',
    500: '#508013',
    950: '#000000',
  },
}
SCSS
$custom: #508013;
$custom-light: #86a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#508013",
  "rgb": {
    "r": 80,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 86.422,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54488,
    "c": 0.1423,
    "h": 131.6
  },
  "luminance": 0.17191
}

Semantic roles & 50–950 ramp

primary
#508013
secondary
#7039B5
accent
#37F189
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #508013

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

Preview Lab → · Contrast checker → · Palette generator →

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