#508A19#508A19

#508A19 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.2% C 0.152 H 133.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#508A19
RGBrgb(80, 138, 25)
HSLhsl(91, 69%, 32%)
HSVhsv(91, 82%, 54%)
CMYKcmyk(42%, 0%, 81.9%, 45.9%)
CIE-LABlab(51.78, -37.41, 49.79)
CIE-LCHlch(51.78, 62.28, 126.92°)
OKLaboklab(57.18% -0.1053 0.1099)
OKLCHoklch(57.18% 0.152 133.8)
XYZxyz(12.5720, 19.9520, 4.1082)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508A19 #53198A
analogous
#898A19 #508A19 #198A1A
triadic
#508A19 #19508A #8A1950
tetradic
#508A19 #19898A #53198A #8A1A19
square
#508A19 #19898A #53198A #8A1A19
split-complementary
#508A19 #1A198A #8A1989
monochromatic
#142206 #325610 #508A19 #6EBE22 #8DDD41

Accessibility & contrast

On white

4.21
#508A19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#508A19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508A19
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508A19#FFFFFF#000000##000000
##508A191.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#508475
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #508a19;
/* rgb */ color: rgb(80, 138, 25);
/* oklch */ color: oklch(57.2% 0.152 133.8);
Tailwind
colors: {
  custom: {
    50: '#87ac61',
    500: '#508a19',
    950: '#000000',
  },
}
SCSS
$custom: #508a19;
$custom-light: #87ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#508a19",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 25
  },
  "hsl": {
    "h": 90.796,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57184,
    "c": 0.15217,
    "h": 133.8
  },
  "luminance": 0.19953
}

Semantic roles & 50–950 ramp

primary
#508A19
secondary
#8142BD
accent
#3CEC96
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #508A19

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

Preview Lab → · Contrast checker → · Palette generator →

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