#50871F#50871F

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

Color values

HEX#50871F
RGBrgb(80, 135, 31)
HSLhsl(92, 63%, 33%)
HSVhsv(92, 77%, 53%)
CMYKcmyk(40.7%, 0%, 77%, 47.1%)
CIE-LABlab(50.84, -35.76, 46.90)
CIE-LCHlch(50.84, 58.97, 127.32°)
OKLaboklab(56.42% -0.1004 0.1048)
OKLCHoklch(56.42% 0.145 133.8)
XYZxyz(12.2193, 19.1317, 4.3450)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50871F #561F87
analogous
#84871F #50871F #1F8722
triadic
#50871F #1F5087 #871F50
tetradic
#50871F #1F8487 #561F87 #87221F
square
#50871F #1F8487 #561F87 #87221F
split-complementary
#50871F #221F87 #871F84
monochromatic
#152308 #335514 #50871F #6DB92A #8CD64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50871F#FFFFFF#000000##000000
##50871F1.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)
#8D7C08
Deuteranopia (green-blind)
#85772A
Tritanopia (blue-blind)
#508173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #50871f;
/* rgb */ color: rgb(80, 135, 31);
/* oklch */ color: oklch(56.4% 0.145 133.8);
Tailwind
colors: {
  custom: {
    50: '#86aa63',
    500: '#50871f',
    950: '#000000',
  },
}
SCSS
$custom: #50871f;
$custom-light: #86aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#50871f",
  "rgb": {
    "r": 80,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 91.731,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56424,
    "c": 0.14512,
    "h": 133.8
  },
  "luminance": 0.19132
}

Semantic roles & 50–950 ramp

primary
#50871F
secondary
#844AB8
accent
#42E699
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #50871F

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

Preview Lab → · Contrast checker → · Palette generator →

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