#50831A#50831A

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

Color values

HEX#50831A
RGBrgb(80, 131, 26)
HSLhsl(89, 67%, 31%)
HSVhsv(89, 80%, 51%)
CMYKcmyk(38.9%, 0%, 80.2%, 48.6%)
CIE-LABlab(49.51, -34.28, 47.35)
CIE-LCHlch(49.51, 58.46, 125.90°)
OKLaboklab(55.33% -0.0968 0.1049)
OKLCHoklch(55.33% 0.143 132.7)
XYZxyz(11.6109, 18.0121, 3.8420)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50831A #4D1A83
analogous
#83811A #50831A #1B831A
triadic
#50831A #1A5083 #831A50
tetradic
#50831A #1A8381 #4D1A83 #831A1B
square
#50831A #1A8381 #4D1A83 #831A1B
split-complementary
#50831A #1A1B83 #811A83
monochromatic
#121D06 #315010 #50831A #6FB624 #8ED93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50831A#FFFFFF#000000##000000
##50831A1.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)
#897800
Deuteranopia (green-blind)
#827425
Tritanopia (blue-blind)
#517D6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #50831a;
/* rgb */ color: rgb(80, 131, 26);
/* oklch */ color: oklch(55.3% 0.143 132.7);
Tailwind
colors: {
  custom: {
    50: '#86a760',
    500: '#50831a',
    950: '#000000',
  },
}
SCSS
$custom: #50831a;
$custom-light: #86a760;
$custom-dark: #000000;
JSON
{
  "hex": "#50831a",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 89.143,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55326,
    "c": 0.14275,
    "h": 132.7
  },
  "luminance": 0.18013
}

Semantic roles & 50–950 ramp

primary
#50831A
secondary
#7B42B7
accent
#3EEA91
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #50831A

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

Preview Lab → · Contrast checker → · Palette generator →

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