#50841D#50841D

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

Color values

HEX#50841D
RGBrgb(80, 132, 29)
HSLhsl(90, 64%, 32%)
HSVhsv(90, 78%, 52%)
CMYKcmyk(39.4%, 0%, 78%, 48.2%)
CIE-LABlab(49.85, -34.55, 46.65)
CIE-LCHlch(49.85, 58.05, 126.52°)
OKLaboklab(55.61% -0.0973 0.104)
OKLCHoklch(55.61% 0.142 133.1)
XYZxyz(11.7811, 18.2962, 4.0729)
Luminance0.1830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50841D #511D84
analogous
#84841D #50841D #1D841E
triadic
#50841D #1D5084 #841D50
tetradic
#50841D #1D8484 #511D84 #841E1D
square
#50841D #1D8484 #511D84 #841E1D
split-complementary
#50841D #1E1D84 #841D84
monochromatic
#132007 #325212 #50841D #6EB628 #8DD645

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50841D#FFFFFF#000000##000000
##50841D1.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)
#8A7905
Deuteranopia (green-blind)
#837528
Tritanopia (blue-blind)
#507E71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #50841d;
/* rgb */ color: rgb(80, 132, 29);
/* oklch */ color: oklch(55.6% 0.142 133.1);
Tailwind
colors: {
  custom: {
    50: '#86a861',
    500: '#50841d',
    950: '#000000',
  },
}
SCSS
$custom: #50841d;
$custom-light: #86a861;
$custom-dark: #000000;
JSON
{
  "hex": "#50841d",
  "rgb": {
    "r": 80,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 90.291,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55612,
    "c": 0.14238,
    "h": 133.1
  },
  "luminance": 0.18297
}

Semantic roles & 50–950 ramp

primary
#50841D
secondary
#7F46B7
accent
#41E795
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #50841D

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

Preview Lab → · Contrast checker → · Palette generator →

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