#50871E#50871E

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

Color values

HEX#50871E
RGBrgb(80, 135, 30)
HSLhsl(91, 64%, 32%)
HSVhsv(91, 78%, 53%)
CMYKcmyk(40.7%, 0%, 77.8%, 47.1%)
CIE-LABlab(50.84, -35.82, 47.25)
CIE-LCHlch(50.84, 59.29, 127.17°)
OKLaboklab(56.42% -0.1006 0.1054)
OKLCHoklch(56.42% 0.146 133.7)
XYZxyz(12.2064, 19.1266, 4.2767)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50871E #551E87
analogous
#84871E #50871E #1E8721
triadic
#50871E #1E5087 #871E50
tetradic
#50871E #1E8487 #551E87 #87211E
square
#50871E #1E8487 #551E87 #87211E
split-complementary
#50871E #211E87 #871E84
monochromatic
#152308 #325513 #50871E #6EB929 #8CD749

Accessibility & contrast

On white

4.35
#50871E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#50871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50871E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50871E#FFFFFF#000000##000000
##50871E1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #50871e;
/* rgb */ color: rgb(80, 135, 30);
/* oklch */ color: oklch(56.4% 0.146 133.7);
Tailwind
colors: {
  custom: {
    50: '#86aa62',
    500: '#50871e',
    950: '#000000',
  },
}
SCSS
$custom: #50871e;
$custom-light: #86aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#50871e",
  "rgb": {
    "r": 80,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 91.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56417,
    "c": 0.1457,
    "h": 133.7
  },
  "luminance": 0.19127
}

Semantic roles & 50–950 ramp

primary
#50871E
secondary
#8348B9
accent
#41E798
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #50871E

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

Preview Lab → · Contrast checker → · Palette generator →

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