#50851E#50851E

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

Color values

HEX#50851E
RGBrgb(80, 133, 30)
HSLhsl(91, 63%, 32%)
HSVhsv(91, 77%, 52%)
CMYKcmyk(39.8%, 0%, 77.4%, 47.8%)
CIE-LABlab(50.18, -34.94, 46.62)
CIE-LCHlch(50.18, 58.26, 126.85°)
OKLaboklab(55.89% -0.0983 0.104)
OKLCHoklch(55.89% 0.143 133.4)
XYZxyz(11.9299, 18.5737, 4.1845)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50851E #531E85
analogous
#84851E #50851E #1E8520
triadic
#50851E #1E5085 #851E50
tetradic
#50851E #1E8485 #531E85 #85201E
square
#50851E #1E8485 #531E85 #85201E
split-complementary
#50851E #201E85 #851E84
monochromatic
#142107 #325313 #50851E #6EB729 #8DD648

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50851E#FFFFFF#000000##000000
##50851E1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #50851e;
/* rgb */ color: rgb(80, 133, 30);
/* oklch */ color: oklch(55.9% 0.143 133.4);
Tailwind
colors: {
  custom: {
    50: '#86a962',
    500: '#50851e',
    950: '#000000',
  },
}
SCSS
$custom: #50851e;
$custom-light: #86a962;
$custom-dark: #000000;
JSON
{
  "hex": "#50851e",
  "rgb": {
    "r": 80,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 90.874,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55885,
    "c": 0.14311,
    "h": 133.4
  },
  "luminance": 0.18574
}

Semantic roles & 50–950 ramp

primary
#50851E
secondary
#8147B8
accent
#42E696
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #50851E

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

Preview Lab → · Contrast checker → · Palette generator →

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