#50811D#50811D

#50811D is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.8% C 0.138 H 132.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#50811D
RGBrgb(80, 129, 29)
HSLhsl(89, 63%, 31%)
HSVhsv(89, 78%, 51%)
CMYKcmyk(38%, 0%, 77.5%, 49.4%)
CIE-LABlab(48.88, -33.20, 45.71)
CIE-LCHlch(48.88, 56.50, 126.00°)
OKLaboklab(54.81% -0.0936 0.102)
OKLCHoklch(54.81% 0.138 132.6)
XYZxyz(11.3801, 17.4942, 3.9393)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50811D #4E1D81
analogous
#81801D #50811D #1E811D
triadic
#50811D #1D5081 #811D50
tetradic
#50811D #1D8180 #4E1D81 #811D1E
square
#50811D #1D8180 #4E1D81 #811D1E
split-complementary
#50811D #1D1E81 #801D81
monochromatic
#121D07 #314F12 #50811D #6FB328 #8ED544

Accessibility & contrast

On white

4.67
#50811D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#50811D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #50811D
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50811D#FFFFFF#000000##FFFFFF
##50811D1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877707
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#517C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #50811d;
/* rgb */ color: rgb(80, 129, 29);
/* oklch */ color: oklch(54.8% 0.138 132.6);
Tailwind
colors: {
  custom: {
    50: '#86a661',
    500: '#50811d',
    950: '#000000',
  },
}
SCSS
$custom: #50811d;
$custom-light: #86a661;
$custom-dark: #000000;
JSON
{
  "hex": "#50811d",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 89.4,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54814,
    "c": 0.13845,
    "h": 132.6
  },
  "luminance": 0.17495
}

Semantic roles & 50–950 ramp

primary
#50811D
secondary
#7C46B4
accent
#41E692
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #50811D

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

Preview Lab → · Contrast checker → · Palette generator →

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