#508B19#508B19

#508B19 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.5% C 0.153 H 133.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#508B19
RGBrgb(80, 139, 25)
HSLhsl(91, 70%, 32%)
HSVhsv(91, 82%, 55%)
CMYKcmyk(42.4%, 0%, 82%, 45.5%)
CIE-LABlab(52.11, -37.84, 50.09)
CIE-LCHlch(52.11, 62.77, 127.07°)
OKLaboklab(57.45% -0.1064 0.1105)
OKLCHoklch(57.45% 0.153 133.9)
XYZxyz(12.7161, 20.2402, 4.1562)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508B19 #54198B
analogous
#898B19 #508B19 #198B1B
triadic
#508B19 #19508B #8B1950
tetradic
#508B19 #19898B #54198B #8B1B19
square
#508B19 #19898B #54198B #8B1B19
split-complementary
#508B19 #1B198B #8B1989
monochromatic
#142306 #325710 #508B19 #6EBF22 #8CDD41

Accessibility & contrast

On white

4.16
#508B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#508B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508B19
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508B19#FFFFFF#000000##000000
##508B191.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#4F8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #508b19;
/* rgb */ color: rgb(80, 139, 25);
/* oklch */ color: oklch(57.5% 0.153 133.9);
Tailwind
colors: {
  custom: {
    50: '#87ad61',
    500: '#508b19',
    950: '#000000',
  },
}
SCSS
$custom: #508b19;
$custom-light: #87ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#508b19",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 91.053,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57451,
    "c": 0.15343,
    "h": 133.9
  },
  "luminance": 0.20241
}

Semantic roles & 50–950 ramp

primary
#508B19
secondary
#8242BE
accent
#3BEC97
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #508B19

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

Preview Lab → · Contrast checker → · Palette generator →

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