#50841E#50841E

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

Color values

HEX#50841E
RGBrgb(80, 132, 30)
HSLhsl(91, 63%, 32%)
HSVhsv(91, 77%, 52%)
CMYKcmyk(39.4%, 0%, 77.3%, 48.2%)
CIE-LABlab(49.86, -34.49, 46.30)
CIE-LCHlch(49.86, 57.74, 126.68°)
OKLaboklab(55.62% -0.0971 0.1034)
OKLCHoklch(55.62% 0.142 133.2)
XYZxyz(11.7937, 18.3012, 4.1391)
Luminance0.1830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50841E #521E84
analogous
#83841E #50841E #1E841F
triadic
#50841E #1E5084 #841E50
tetradic
#50841E #1E8384 #521E84 #841F1E
square
#50841E #1E8384 #521E84 #841F1E
split-complementary
#50841E #1F1E84 #841E83
monochromatic
#142007 #325213 #50841E #6EB629 #8DD547

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50841E#FFFFFF#000000##000000
##50841E1.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)
#8A7907
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#507E71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #50841e;
/* rgb */ color: rgb(80, 132, 30);
/* oklch */ color: oklch(55.6% 0.142 133.2);
Tailwind
colors: {
  custom: {
    50: '#86a862',
    500: '#50841e',
    950: '#000000',
  },
}
SCSS
$custom: #50841e;
$custom-light: #86a862;
$custom-dark: #000000;
JSON
{
  "hex": "#50841e",
  "rgb": {
    "r": 80,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 90.588,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55619,
    "c": 0.1418,
    "h": 133.2
  },
  "luminance": 0.18302
}

Semantic roles & 50–950 ramp

primary
#50841E
secondary
#8047B7
accent
#42E696
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #50841E

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

Preview Lab → · Contrast checker → · Palette generator →

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