#508E1A#508E1A

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

Color values

HEX#508E1A
RGBrgb(80, 142, 26)
HSLhsl(92, 69%, 33%)
HSVhsv(92, 82%, 56%)
CMYKcmyk(43.7%, 0%, 81.7%, 44.3%)
CIE-LABlab(53.09, -39.07, 50.69)
CIE-LCHlch(53.09, 64.00, 127.63°)
OKLaboklab(58.26% -0.1097 0.1119)
OKLCHoklch(58.26% 0.157 134.4)
XYZxyz(13.1675, 21.1253, 4.3609)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E1A #581A8E
analogous
#8A8E1A #508E1A #1A8E1E
triadic
#508E1A #1A508E #8E1A50
tetradic
#508E1A #1A8A8E #581A8E #8E1E1A
square
#508E1A #1A8A8E #581A8E #8E1E1A
split-complementary
#508E1A #1E1A8E #8E1A8A
monochromatic
#162707 #335A11 #508E1A #6DC223 #8CDD45

Accessibility & contrast

On white

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

On black

5.23
#508E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508E1A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508E1A#FFFFFF#000000##000000
##508E1A1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.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: #508e1a;
/* rgb */ color: rgb(80, 142, 26);
/* oklch */ color: oklch(58.3% 0.157 134.4);
Tailwind
colors: {
  custom: {
    50: '#87af62',
    500: '#508e1a',
    950: '#000000',
  },
}
SCSS
$custom: #508e1a;
$custom-light: #87af62;
$custom-dark: #000000;
JSON
{
  "hex": "#508e1a",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 92.069,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58255,
    "c": 0.1567,
    "h": 134.4
  },
  "luminance": 0.21126
}

Semantic roles & 50–950 ramp

primary
#508E1A
secondary
#8645BE
accent
#3CEC9A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #508E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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