#508E19#508E19

#508E19 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.2% C 0.157 H 134.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#508E19
RGBrgb(80, 142, 25)
HSLhsl(92, 70%, 33%)
HSVhsv(92, 82%, 56%)
CMYKcmyk(43.7%, 0%, 82.4%, 44.3%)
CIE-LABlab(53.08, -39.12, 50.98)
CIE-LCHlch(53.08, 64.26, 127.50°)
OKLaboklab(58.25% -0.1099 0.1124)
OKLCHoklch(58.25% 0.157 134.3)
XYZxyz(13.1565, 21.1209, 4.3030)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E19 #57198E
analogous
#8A8E19 #508E19 #198E1D
triadic
#508E19 #19508E #8E1950
tetradic
#508E19 #198A8E #57198E #8E1D19
square
#508E19 #198A8E #57198E #8E1D19
split-complementary
#508E19 #1D198E #8E198A
monochromatic
#152607 #335A10 #508E19 #6DC222 #8CDE43

Accessibility & contrast

On white

4.02
#508E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#508E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508E19
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508E19#FFFFFF#000000##000000
##508E191.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7D27
Tritanopia (blue-blind)
#4F8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508e19;
/* rgb */ color: rgb(80, 142, 25);
/* oklch */ color: oklch(58.2% 0.157 134.3);
Tailwind
colors: {
  custom: {
    50: '#87af61',
    500: '#508e19',
    950: '#000000',
  },
}
SCSS
$custom: #508e19;
$custom-light: #87af61;
$custom-dark: #000000;
JSON
{
  "hex": "#508e19",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 91.795,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58249,
    "c": 0.15718,
    "h": 134.3
  },
  "luminance": 0.21122
}

Semantic roles & 50–950 ramp

primary
#508E19
secondary
#8544BF
accent
#3BED99
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #508E19

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

Preview Lab → · Contrast checker → · Palette generator →

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