#50851F#50851F

#50851F is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 55.9% C 0.143 H 133.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#50851F
RGBrgb(80, 133, 31)
HSLhsl(91, 62%, 32%)
HSVhsv(91, 77%, 52%)
CMYKcmyk(39.8%, 0%, 76.7%, 47.8%)
CIE-LABlab(50.19, -34.87, 46.26)
CIE-LCHlch(50.19, 57.93, 127.01°)
OKLaboklab(55.89% -0.098 0.1035)
OKLCHoklch(55.89% 0.143 133.5)
XYZxyz(11.9429, 18.5789, 4.2529)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50851F #541F85
analogous
#83851F #50851F #1F8521
triadic
#50851F #1F5085 #851F50
tetradic
#50851F #1F8385 #541F85 #85211F
square
#50851F #1F8385 #541F85 #85211F
split-complementary
#50851F #211F85 #851F83
monochromatic
#142208 #325313 #50851F #6EB72B #8CD54A

Accessibility & contrast

On white

4.45
#50851F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#50851F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50851F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50851F#FFFFFF#000000##000000
##50851F1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A09
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#508072
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #50851f;
/* rgb */ color: rgb(80, 133, 31);
/* oklch */ color: oklch(55.9% 0.143 133.5);
Tailwind
colors: {
  custom: {
    50: '#86a963',
    500: '#50851f',
    950: '#000000',
  },
}
SCSS
$custom: #50851f;
$custom-light: #86a963;
$custom-dark: #000000;
JSON
{
  "hex": "#50851f",
  "rgb": {
    "r": 80,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 91.176,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55892,
    "c": 0.14251,
    "h": 133.5
  },
  "luminance": 0.18579
}

Semantic roles & 50–950 ramp

primary
#50851F
secondary
#8249B7
accent
#43E597
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #50851F

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

Preview Lab → · Contrast checker → · Palette generator →

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