#50831C#50831C

#50831C 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#50831C
RGBrgb(80, 131, 28)
HSLhsl(90, 65%, 31%)
HSVhsv(90, 79%, 51%)
CMYKcmyk(38.9%, 0%, 78.6%, 48.6%)
CIE-LABlab(49.52, -34.17, 46.68)
CIE-LCHlch(49.52, 57.85, 126.20°)
OKLaboklab(55.34% -0.0963 0.1039)
OKLCHoklch(55.34% 0.142 132.8)
XYZxyz(11.6340, 18.0214, 3.9639)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50831C #4F1C83
analogous
#83821C #50831C #1C831C
triadic
#50831C #1C5083 #831C50
tetradic
#50831C #1C8382 #4F1C83 #831C1C
square
#50831C #1C8382 #4F1C83 #831C1C
split-complementary
#50831C #1C1C83 #821C83
monochromatic
#121E06 #315111 #50831C #6FB527 #8DD743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50831C#FFFFFF#000000##000000
##50831C1.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)
#897803
Deuteranopia (green-blind)
#827427
Tritanopia (blue-blind)
#507D70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #50831c;
/* rgb */ color: rgb(80, 131, 28);
/* oklch */ color: oklch(55.3% 0.142 132.8);
Tailwind
colors: {
  custom: {
    50: '#86a761',
    500: '#50831c',
    950: '#000000',
  },
}
SCSS
$custom: #50831c;
$custom-light: #86a761;
$custom-dark: #000000;
JSON
{
  "hex": "#50831c",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 89.709,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55339,
    "c": 0.14165,
    "h": 132.8
  },
  "luminance": 0.18022
}

Semantic roles & 50–950 ramp

primary
#50831C
secondary
#7D45B6
accent
#40E893
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #50831C

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

Preview Lab → · Contrast checker → · Palette generator →

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