#50831B#50831B

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

Color values

HEX#50831B
RGBrgb(80, 131, 27)
HSLhsl(89, 66%, 31%)
HSVhsv(89, 79%, 51%)
CMYKcmyk(38.9%, 0%, 79.4%, 48.6%)
CIE-LABlab(49.52, -34.23, 47.02)
CIE-LCHlch(49.52, 58.16, 126.05°)
OKLaboklab(55.33% -0.0966 0.1044)
OKLCHoklch(55.33% 0.142 132.8)
XYZxyz(11.6222, 18.0167, 3.9019)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50831B #4E1B83
analogous
#83821B #50831B #1C831B
triadic
#50831B #1B5083 #831B50
tetradic
#50831B #1B8382 #4E1B83 #831B1C
square
#50831B #1B8382 #4E1B83 #831B1C
split-complementary
#50831B #1B1C83 #821B83
monochromatic
#121E06 #315011 #50831B #6FB625 #8ED841

Accessibility & contrast

On white

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

On black

4.60
#50831B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50831B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50831B#FFFFFF#000000##000000
##50831B1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897801
Deuteranopia (green-blind)
#827426
Tritanopia (blue-blind)
#517D70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #50831b;
/* rgb */ color: rgb(80, 131, 27);
/* oklch */ color: oklch(55.3% 0.142 132.8);
Tailwind
colors: {
  custom: {
    50: '#86a760',
    500: '#50831b',
    950: '#000000',
  },
}
SCSS
$custom: #50831b;
$custom-light: #86a760;
$custom-dark: #000000;
JSON
{
  "hex": "#50831b",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 89.423,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55333,
    "c": 0.14221,
    "h": 132.8
  },
  "luminance": 0.18017
}

Semantic roles & 50–950 ramp

primary
#50831B
secondary
#7C43B6
accent
#3FE992
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #50831B

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

Preview Lab → · Contrast checker → · Palette generator →

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