#50831D#50831D

#50831D is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.3% C 0.141 H 132.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#50831D
RGBrgb(80, 131, 29)
HSLhsl(90, 64%, 31%)
HSVhsv(90, 78%, 51%)
CMYKcmyk(38.9%, 0%, 77.9%, 48.6%)
CIE-LABlab(49.53, -34.11, 46.34)
CIE-LCHlch(49.53, 57.54, 126.35°)
OKLaboklab(55.35% -0.0961 0.1033)
OKLCHoklch(55.35% 0.141 132.9)
XYZxyz(11.6462, 18.0263, 4.0279)
Luminance0.1803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50831D #501D83
analogous
#83831D #50831D #1D831D
triadic
#50831D #1D5083 #831D50
tetradic
#50831D #1D8383 #501D83 #831D1D
square
#50831D #1D8383 #501D83 #831D1D
split-complementary
#50831D #1D1D83 #831D83
monochromatic
#131F07 #315112 #50831D #6FB528 #8DD645

Accessibility & contrast

On white

4.56
#50831D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#50831D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50831D
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50831D#FFFFFF#000000##000000
##50831D1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897806
Deuteranopia (green-blind)
#827427
Tritanopia (blue-blind)
#507D70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #50831d;
/* rgb */ color: rgb(80, 131, 29);
/* oklch */ color: oklch(55.3% 0.141 132.9);
Tailwind
colors: {
  custom: {
    50: '#86a761',
    500: '#50831d',
    950: '#000000',
  },
}
SCSS
$custom: #50831d;
$custom-light: #86a761;
$custom-dark: #000000;
JSON
{
  "hex": "#50831d",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 90,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55346,
    "c": 0.14107,
    "h": 132.9
  },
  "luminance": 0.18027
}

Semantic roles & 50–950 ramp

primary
#50831D
secondary
#7E46B6
accent
#41E794
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #50831D

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

Preview Lab → · Contrast checker → · Palette generator →

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