#50801B#50801B

#50801B is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.5% C 0.138 H 132.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#50801B
RGBrgb(80, 128, 27)
HSLhsl(89, 65%, 30%)
HSVhsv(89, 79%, 50%)
CMYKcmyk(37.5%, 0%, 78.9%, 49.8%)
CIE-LABlab(48.54, -32.87, 46.09)
CIE-LCHlch(48.54, 56.61, 125.50°)
OKLaboklab(54.53% -0.0929 0.1025)
OKLCHoklch(54.53% 0.138 132.2)
XYZxyz(11.2251, 17.2225, 3.7695)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50801B #4B1B80
analogous
#807D1B #50801B #1D801B
triadic
#50801B #1B5080 #801B50
tetradic
#50801B #1B807D #4B1B80 #801B1D
square
#50801B #1B807D #4B1B80 #801B1D
split-complementary
#50801B #1B1D80 #7D1B80
monochromatic
#111B06 #304D10 #50801B #70B326 #8ED63F

Accessibility & contrast

On white

4.72
#50801B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#50801B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #50801B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50801B#FFFFFF#000000##FFFFFF
##50801B1.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867603
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#517A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #50801b;
/* rgb */ color: rgb(80, 128, 27);
/* oklch */ color: oklch(54.5% 0.138 132.2);
Tailwind
colors: {
  custom: {
    50: '#86a560',
    500: '#50801b',
    950: '#000000',
  },
}
SCSS
$custom: #50801b;
$custom-light: #86a560;
$custom-dark: #000000;
JSON
{
  "hex": "#50801b",
  "rgb": {
    "r": 80,
    "g": 128,
    "b": 27
  },
  "hsl": {
    "h": 88.515,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54534,
    "c": 0.1383,
    "h": 132.2
  },
  "luminance": 0.17223
}

Semantic roles & 50–950 ramp

primary
#50801B
secondary
#7943B4
accent
#40E890
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #50801B

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

Preview Lab → · Contrast checker → · Palette generator →

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