#50831E#50831E

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

Color values

HEX#50831E
RGBrgb(80, 131, 30)
HSLhsl(90, 63%, 32%)
HSVhsv(90, 77%, 51%)
CMYKcmyk(38.9%, 0%, 77.1%, 48.6%)
CIE-LABlab(49.53, -34.04, 45.99)
CIE-LCHlch(49.53, 57.22, 126.51°)
OKLaboklab(55.35% -0.0958 0.1027)
OKLCHoklch(55.35% 0.14 133)
XYZxyz(11.6587, 18.0313, 4.0941)
Luminance0.1803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50831E #511E83
analogous
#83831E #50831E #1E831F
triadic
#50831E #1E5083 #831E50
tetradic
#50831E #1E8383 #511E83 #831F1E
square
#50831E #1E8383 #511E83 #831F1E
split-complementary
#50831E #1F1E83 #831E83
monochromatic
#131F07 #325113 #50831E #6EB529 #8DD547

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50831E#FFFFFF#000000##000000
##50831E1.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)
#897808
Deuteranopia (green-blind)
#827428
Tritanopia (blue-blind)
#507E70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #50831e;
/* rgb */ color: rgb(80, 131, 30);
/* oklch */ color: oklch(55.4% 0.140 133.0);
Tailwind
colors: {
  custom: {
    50: '#86a762',
    500: '#50831e',
    950: '#000000',
  },
}
SCSS
$custom: #50831e;
$custom-light: #86a762;
$custom-dark: #000000;
JSON
{
  "hex": "#50831e",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 90.297,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55353,
    "c": 0.14049,
    "h": 133
  },
  "luminance": 0.18032
}

Semantic roles & 50–950 ramp

primary
#50831E
secondary
#7F47B6
accent
#42E695
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #50831E

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

Preview Lab → · Contrast checker → · Palette generator →

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