#50851D#50851D

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

Color values

HEX#50851D
RGBrgb(80, 133, 29)
HSLhsl(91, 64%, 32%)
HSVhsv(91, 78%, 52%)
CMYKcmyk(39.8%, 0%, 78.2%, 47.8%)
CIE-LABlab(50.18, -35.00, 46.97)
CIE-LCHlch(50.18, 58.57, 126.69°)
OKLaboklab(55.88% -0.0985 0.1046)
OKLCHoklch(55.88% 0.144 133.3)
XYZxyz(11.9174, 18.5687, 4.1183)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50851D #521D85
analogous
#84851D #50851D #1D851E
triadic
#50851D #1D5085 #851D50
tetradic
#50851D #1D8485 #521D85 #851E1D
square
#50851D #1D8485 #521D85 #851E1D
split-complementary
#50851D #1E1D85 #851D84
monochromatic
#142107 #325312 #50851D #6EB728 #8DD746

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50851D#FFFFFF#000000##000000
##50851D1.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)
#8B7A04
Deuteranopia (green-blind)
#837628
Tritanopia (blue-blind)
#507F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #50851d;
/* rgb */ color: rgb(80, 133, 29);
/* oklch */ color: oklch(55.9% 0.144 133.3);
Tailwind
colors: {
  custom: {
    50: '#86a962',
    500: '#50851d',
    950: '#000000',
  },
}
SCSS
$custom: #50851d;
$custom-light: #86a962;
$custom-dark: #000000;
JSON
{
  "hex": "#50851d",
  "rgb": {
    "r": 80,
    "g": 133,
    "b": 29
  },
  "hsl": {
    "h": 90.577,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55878,
    "c": 0.14368,
    "h": 133.3
  },
  "luminance": 0.18569
}

Semantic roles & 50–950 ramp

primary
#50851D
secondary
#8046B8
accent
#41E796
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #50851D

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

Preview Lab → · Contrast checker → · Palette generator →

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