#508C19#508C19

#508C19 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.7% C 0.155 H 134.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#508C19
RGBrgb(80, 140, 25)
HSLhsl(91, 70%, 32%)
HSVhsv(91, 82%, 55%)
CMYKcmyk(42.9%, 0%, 82.1%, 45.1%)
CIE-LABlab(52.43, -38.27, 50.39)
CIE-LCHlch(52.43, 63.27, 127.22°)
OKLaboklab(57.72% -0.1076 0.1111)
OKLCHoklch(57.72% 0.155 134.1)
XYZxyz(12.8616, 20.5311, 4.2047)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508C19 #55198C
analogous
#8A8C19 #508C19 #198C1B
triadic
#508C19 #19508C #8C1950
tetradic
#508C19 #198A8C #55198C #8C1B19
square
#508C19 #198A8C #55198C #8C1B19
split-complementary
#508C19 #1B198C #8C198A
monochromatic
#152406 #325810 #508C19 #6EC022 #8CDD42

Accessibility & contrast

On white

4.11
#508C19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#508C19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508C19
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508C19#FFFFFF#000000##000000
##508C191.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8A7B26
Tritanopia (blue-blind)
#4F8677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #508c19;
/* rgb */ color: rgb(80, 140, 25);
/* oklch */ color: oklch(57.7% 0.155 134.1);
Tailwind
colors: {
  custom: {
    50: '#87ae61',
    500: '#508c19',
    950: '#000000',
  },
}
SCSS
$custom: #508c19;
$custom-light: #87ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#508c19",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 25
  },
  "hsl": {
    "h": 91.304,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57717,
    "c": 0.15468,
    "h": 134.1
  },
  "luminance": 0.20532
}

Semantic roles & 50–950 ramp

primary
#508C19
secondary
#8343BE
accent
#3BED98
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #508C19

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

Preview Lab → · Contrast checker → · Palette generator →

#508C19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva