#50851B#50851B

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

Color values

HEX#50851B
RGBrgb(80, 133, 27)
HSLhsl(90, 66%, 31%)
HSVhsv(90, 80%, 52%)
CMYKcmyk(39.8%, 0%, 79.7%, 47.8%)
CIE-LABlab(50.17, -35.12, 47.64)
CIE-LCHlch(50.17, 59.18, 126.40°)
OKLaboklab(55.86% -0.099 0.1057)
OKLCHoklch(55.86% 0.145 133.1)
XYZxyz(11.8934, 18.5591, 3.9923)
Luminance0.1856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50851B #501B85
analogous
#85851B #50851B #1B851B
triadic
#50851B #1B5085 #851B50
tetradic
#50851B #1B8585 #501B85 #851B1B
square
#50851B #1B8585 #501B85 #851B1B
split-complementary
#50851B #1B1B85 #851B85
monochromatic
#131F06 #315211 #50851B #6FB825 #8DD942

Accessibility & contrast

On white

4.46
#50851B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#50851B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50851B
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50851B#FFFFFF#000000##000000
##50851B1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#837626
Tritanopia (blue-blind)
#507F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #50851b;
/* rgb */ color: rgb(80, 133, 27);
/* oklch */ color: oklch(55.9% 0.145 133.1);
Tailwind
colors: {
  custom: {
    50: '#86a961',
    500: '#50851b',
    950: '#000000',
  },
}
SCSS
$custom: #50851b;
$custom-light: #86a961;
$custom-dark: #000000;
JSON
{
  "hex": "#50851b",
  "rgb": {
    "r": 80,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 90,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55865,
    "c": 0.14479,
    "h": 133.1
  },
  "luminance": 0.1856
}

Semantic roles & 50–950 ramp

primary
#50851B
secondary
#7E44B8
accent
#3FE994
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #50851B

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

Preview Lab → · Contrast checker → · Palette generator →

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