#50871C#50871C

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

Color values

HEX#50871C
RGBrgb(80, 135, 28)
HSLhsl(91, 66%, 32%)
HSVhsv(91, 79%, 53%)
CMYKcmyk(40.7%, 0%, 79.3%, 47.1%)
CIE-LABlab(50.82, -35.94, 47.93)
CIE-LCHlch(50.82, 59.90, 126.87°)
OKLaboklab(56.4% -0.1011 0.1065)
OKLCHoklch(56.4% 0.147 133.5)
XYZxyz(12.1816, 19.1167, 4.1464)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50871C #531C87
analogous
#86871C #50871C #1C871E
triadic
#50871C #1C5087 #871C50
tetradic
#50871C #1C8687 #531C87 #871E1C
square
#50871C #1C8687 #531C87 #871E1C
split-complementary
#50871C #1E1C87 #871C86
monochromatic
#142207 #325411 #50871C #6EBA27 #8DD845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50871C#FFFFFF#000000##000000
##50871C1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #50871c;
/* rgb */ color: rgb(80, 135, 28);
/* oklch */ color: oklch(56.4% 0.147 133.5);
Tailwind
colors: {
  custom: {
    50: '#86aa61',
    500: '#50871c',
    950: '#000000',
  },
}
SCSS
$custom: #50871c;
$custom-light: #86aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#50871c",
  "rgb": {
    "r": 80,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 90.841,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56404,
    "c": 0.14682,
    "h": 133.5
  },
  "luminance": 0.19117
}

Semantic roles & 50–950 ramp

primary
#50871C
secondary
#8145BA
accent
#3FE996
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #50871C

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

Preview Lab → · Contrast checker → · Palette generator →

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