#50821D#50821D

#50821D is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.1% C 0.140 H 132.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#50821D
RGBrgb(80, 130, 29)
HSLhsl(90, 64%, 31%)
HSVhsv(90, 78%, 51%)
CMYKcmyk(38.5%, 0%, 77.7%, 49%)
CIE-LABlab(49.20, -33.66, 46.02)
CIE-LCHlch(49.20, 57.02, 126.18°)
OKLaboklab(55.08% -0.0949 0.1026)
OKLCHoklch(55.08% 0.14 132.8)
XYZxyz(11.5125, 17.7589, 3.9834)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50821D #4F1D82
analogous
#82811D #50821D #1D821D
triadic
#50821D #1D5082 #821D50
tetradic
#50821D #1D8281 #4F1D82 #821D1D
square
#50821D #1D8281 #4F1D82 #821D1D
split-complementary
#50821D #1D1D82 #811D82
monochromatic
#121E07 #315012 #50821D #6FB428 #8DD544

Accessibility & contrast

On white

4.61
#50821D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #50821D
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50821D#FFFFFF#000000##FFFFFF
##50821D1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #50821d;
/* rgb */ color: rgb(80, 130, 29);
/* oklch */ color: oklch(55.1% 0.140 132.8);
Tailwind
colors: {
  custom: {
    50: '#86a661',
    500: '#50821d',
    950: '#000000',
  },
}
SCSS
$custom: #50821d;
$custom-light: #86a661;
$custom-dark: #000000;
JSON
{
  "hex": "#50821d",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 89.703,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5508,
    "c": 0.13977,
    "h": 132.8
  },
  "luminance": 0.17759
}

Semantic roles & 50–950 ramp

primary
#50821D
secondary
#7D46B5
accent
#41E793
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #50821D

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

Preview Lab → · Contrast checker → · Palette generator →

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