#50871D#50871D

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

Color values

HEX#50871D
RGBrgb(80, 135, 29)
HSLhsl(91, 65%, 32%)
HSVhsv(91, 79%, 53%)
CMYKcmyk(40.7%, 0%, 78.5%, 47.1%)
CIE-LABlab(50.83, -35.88, 47.59)
CIE-LCHlch(50.83, 59.60, 127.01°)
OKLaboklab(56.41% -0.1009 0.1059)
OKLCHoklch(56.41% 0.146 133.6)
XYZxyz(12.1938, 19.1215, 4.2105)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50871D #541D87
analogous
#85871D #50871D #1D871F
triadic
#50871D #1D5087 #871D50
tetradic
#50871D #1D8587 #541D87 #871F1D
square
#50871D #1D8587 #541D87 #871F1D
split-complementary
#50871D #1F1D87 #871D85
monochromatic
#142207 #325512 #50871D #6EB928 #8CD747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50871D#FFFFFF#000000##000000
##50871D1.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)
#8D7C03
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#508173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #50871d;
/* rgb */ color: rgb(80, 135, 29);
/* oklch */ color: oklch(56.4% 0.146 133.6);
Tailwind
colors: {
  custom: {
    50: '#86aa62',
    500: '#50871d',
    950: '#000000',
  },
}
SCSS
$custom: #50871d;
$custom-light: #86aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#50871d",
  "rgb": {
    "r": 80,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 91.132,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5641,
    "c": 0.14627,
    "h": 133.6
  },
  "luminance": 0.19122
}

Semantic roles & 50–950 ramp

primary
#50871D
secondary
#8246B9
accent
#40E897
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #50871D

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

Preview Lab → · Contrast checker → · Palette generator →

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