#50871A#50871A

#50871A is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.4% C 0.148 H 133.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#50871A
RGBrgb(80, 135, 26)
HSLhsl(90, 68%, 32%)
HSVhsv(90, 81%, 53%)
CMYKcmyk(40.7%, 0%, 80.7%, 47.1%)
CIE-LABlab(50.81, -36.05, 48.57)
CIE-LCHlch(50.81, 60.49, 126.58°)
OKLaboklab(56.39% -0.1016 0.1075)
OKLCHoklch(56.39% 0.148 133.4)
XYZxyz(12.1585, 19.1074, 4.0245)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50871A #511A87
analogous
#87871A #50871A #1A871A
triadic
#50871A #1A5087 #871A50
tetradic
#50871A #1A8787 #511A87 #871A1A
square
#50871A #1A8787 #511A87 #871A1A
split-complementary
#50871A #1A1A87 #871A87
monochromatic
#132006 #325410 #50871A #6EBA24 #8DDA41

Accessibility & contrast

On white

4.36
#50871A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#50871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50871A
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50871A#FFFFFF#000000##000000
##50871A1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#508173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #50871a;
/* rgb */ color: rgb(80, 135, 26);
/* oklch */ color: oklch(56.4% 0.148 133.4);
Tailwind
colors: {
  custom: {
    50: '#86aa60',
    500: '#50871a',
    950: '#000000',
  },
}
SCSS
$custom: #50871a;
$custom-light: #86aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#50871a",
  "rgb": {
    "r": 80,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 90.275,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56391,
    "c": 0.14788,
    "h": 133.4
  },
  "luminance": 0.19108
}

Semantic roles & 50–950 ramp

primary
#50871A
secondary
#7F42BA
accent
#3DEB95
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #50871A

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

Preview Lab → · Contrast checker → · Palette generator →

#50871A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva