#50801A#50801A

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

Color values

HEX#50801A
RGBrgb(80, 128, 26)
HSLhsl(88, 66%, 30%)
HSVhsv(88, 80%, 50%)
CMYKcmyk(37.5%, 0%, 79.7%, 49.8%)
CIE-LABlab(48.53, -32.93, 46.43)
CIE-LCHlch(48.53, 56.92, 125.35°)
OKLaboklab(54.53% -0.0931 0.103)
OKLCHoklch(54.53% 0.139 132.1)
XYZxyz(11.2138, 17.2179, 3.7096)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50801A #4A1A80
analogous
#807D1A #50801A #1D801A
triadic
#50801A #1A5080 #801A50
tetradic
#50801A #1A807D #4A1A80 #801A1D
square
#50801A #1A807D #4A1A80 #801A1D
split-complementary
#50801A #1A1D80 #7D1A80
monochromatic
#101A05 #304D10 #50801A #70B324 #8FD83D

Accessibility & contrast

On white

4.73
#50801A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #50801A
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50801A#FFFFFF#000000##FFFFFF
##50801A1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #50801a;
/* rgb */ color: rgb(80, 128, 26);
/* oklch */ color: oklch(54.5% 0.139 132.1);
Tailwind
colors: {
  custom: {
    50: '#86a55f',
    500: '#50801a',
    950: '#000000',
  },
}
SCSS
$custom: #50801a;
$custom-light: #86a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#50801a",
  "rgb": {
    "r": 80,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 88.235,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54527,
    "c": 0.13886,
    "h": 132.1
  },
  "luminance": 0.17218
}

Semantic roles & 50–950 ramp

primary
#50801A
secondary
#7842B4
accent
#3FE98F
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #50801A

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

Preview Lab → · Contrast checker → · Palette generator →

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