#50831F#50831F

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

Color values

HEX#50831F
RGBrgb(80, 131, 31)
HSLhsl(91, 62%, 32%)
HSVhsv(91, 76%, 51%)
CMYKcmyk(38.9%, 0%, 76.3%, 48.6%)
CIE-LABlab(49.54, -33.98, 45.63)
CIE-LCHlch(49.54, 56.89, 126.67°)
OKLaboklab(55.36% -0.0956 0.1021)
OKLCHoklch(55.36% 0.14 133.1)
XYZxyz(11.6717, 18.0365, 4.1625)
Luminance0.1804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50831F #521F83
analogous
#82831F #50831F #1F8320
triadic
#50831F #1F5083 #831F50
tetradic
#50831F #1F8283 #521F83 #83201F
square
#50831F #1F8283 #521F83 #83201F
split-complementary
#50831F #201F83 #831F82
monochromatic
#142008 #325213 #50831F #6EB42B #8DD449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50831F#FFFFFF#000000##000000
##50831F1.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)
#89780A
Deuteranopia (green-blind)
#827429
Tritanopia (blue-blind)
#507E70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #50831f;
/* rgb */ color: rgb(80, 131, 31);
/* oklch */ color: oklch(55.4% 0.140 133.1);
Tailwind
colors: {
  custom: {
    50: '#86a762',
    500: '#50831f',
    950: '#000000',
  },
}
SCSS
$custom: #50831f;
$custom-light: #86a762;
$custom-dark: #000000;
JSON
{
  "hex": "#50831f",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 90.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5536,
    "c": 0.13988,
    "h": 133.1
  },
  "luminance": 0.18037
}

Semantic roles & 50–950 ramp

primary
#50831F
secondary
#8048B6
accent
#43E596
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #50831F

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

Preview Lab → · Contrast checker → · Palette generator →

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