#508919#508919

#508919 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 56.9% C 0.151 H 133.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#508919
RGBrgb(80, 137, 25)
HSLhsl(91, 69%, 32%)
HSVhsv(91, 82%, 54%)
CMYKcmyk(41.6%, 0%, 81.8%, 46.3%)
CIE-LABlab(51.46, -36.98, 49.49)
CIE-LCHlch(51.46, 61.78, 126.77°)
OKLaboklab(56.92% -0.1041 0.1093)
OKLCHoklch(56.92% 0.151 133.6)
XYZxyz(12.4292, 19.6663, 4.0606)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508919 #521989
analogous
#888919 #508919 #19891A
triadic
#508919 #195089 #891950
tetradic
#508919 #198889 #521989 #891A19
square
#508919 #198889 #521989 #891A19
split-complementary
#508919 #1A1989 #891988
monochromatic
#142106 #325510 #508919 #6EBD22 #8DDC40

Accessibility & contrast

On white

4.26
#508919 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#508919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508919
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508919#FFFFFF#000000##000000
##5089191.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#508375
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #508919;
/* rgb */ color: rgb(80, 137, 25);
/* oklch */ color: oklch(56.9% 0.151 133.6);
Tailwind
colors: {
  custom: {
    50: '#87ac60',
    500: '#508919',
    950: '#000000',
  },
}
SCSS
$custom: #508919;
$custom-light: #87ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#508919",
  "rgb": {
    "r": 80,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 90.536,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56918,
    "c": 0.15091,
    "h": 133.6
  },
  "luminance": 0.19667
}

Semantic roles & 50–950 ramp

primary
#508919
secondary
#8041BC
accent
#3CEC95
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #508919

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

Preview Lab → · Contrast checker → · Palette generator →

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