#50821A#50821A

#50821A is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.1% C 0.141 H 132.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#50821A
RGBrgb(80, 130, 26)
HSLhsl(89, 67%, 31%)
HSVhsv(89, 80%, 51%)
CMYKcmyk(38.5%, 0%, 80%, 49%)
CIE-LABlab(49.19, -33.83, 47.04)
CIE-LCHlch(49.19, 57.95, 125.72°)
OKLaboklab(55.06% -0.0956 0.1043)
OKLCHoklch(55.06% 0.141 132.5)
XYZxyz(11.4772, 17.7448, 3.7974)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50821A #4C1A82
analogous
#82801A #50821A #1C821A
triadic
#50821A #1A5082 #821A50
tetradic
#50821A #1A8280 #4C1A82 #821A1C
square
#50821A #1A8280 #4C1A82 #821A1C
split-complementary
#50821A #1A1C82 #801A82
monochromatic
#111C06 #314F10 #50821A #6FB524 #8ED83E

Accessibility & contrast

On white

4.62
#50821A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#50821A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #50821A
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50821A#FFFFFF#000000##FFFFFF
##50821A1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#817425
Tritanopia (blue-blind)
#517C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #50821a;
/* rgb */ color: rgb(80, 130, 26);
/* oklch */ color: oklch(55.1% 0.141 132.5);
Tailwind
colors: {
  custom: {
    50: '#86a660',
    500: '#50821a',
    950: '#000000',
  },
}
SCSS
$custom: #50821a;
$custom-light: #86a660;
$custom-dark: #000000;
JSON
{
  "hex": "#50821a",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 88.846,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5506,
    "c": 0.14146,
    "h": 132.5
  },
  "luminance": 0.17745
}

Semantic roles & 50–950 ramp

primary
#50821A
secondary
#7A42B6
accent
#3EEA91
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #50821A

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

Preview Lab → · Contrast checker → · Palette generator →

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