#50841A#50841A

#50841A is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.6% C 0.144 H 132.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#50841A
RGBrgb(80, 132, 26)
HSLhsl(89, 67%, 31%)
HSVhsv(89, 80%, 52%)
CMYKcmyk(39.4%, 0%, 80.3%, 48.2%)
CIE-LABlab(49.84, -34.73, 47.66)
CIE-LCHlch(49.84, 58.97, 126.08°)
OKLaboklab(55.59% -0.098 0.1056)
OKLCHoklch(55.59% 0.144 132.9)
XYZxyz(11.7458, 18.2820, 3.8870)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50841A #4E1A84
analogous
#84831A #50841A #1B841A
triadic
#50841A #1A5084 #841A50
tetradic
#50841A #1A8483 #4E1A84 #841A1B
square
#50841A #1A8483 #4E1A84 #841A1B
split-complementary
#50841A #1A1B84 #831A84
monochromatic
#121E06 #315110 #50841A #6FB724 #8ED93F

Accessibility & contrast

On white

4.51
#50841A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#50841A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50841A
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50841A#FFFFFF#000000##000000
##50841A1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#507E70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #50841a;
/* rgb */ color: rgb(80, 132, 26);
/* oklch */ color: oklch(55.6% 0.144 132.9);
Tailwind
colors: {
  custom: {
    50: '#86a860',
    500: '#50841a',
    950: '#000000',
  },
}
SCSS
$custom: #50841a;
$custom-light: #86a860;
$custom-dark: #000000;
JSON
{
  "hex": "#50841a",
  "rgb": {
    "r": 80,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 89.434,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55593,
    "c": 0.14404,
    "h": 132.9
  },
  "luminance": 0.18283
}

Semantic roles & 50–950 ramp

primary
#50841A
secondary
#7C42B8
accent
#3EEA92
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #50841A

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

Preview Lab → · Contrast checker → · Palette generator →

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