#50842E#50842E

#50842E is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.8% C 0.130 H 135.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#50842E
RGBrgb(80, 132, 46)
HSLhsl(96, 48%, 35%)
HSVhsv(96, 65%, 52%)
CMYKcmyk(39.4%, 0%, 65.2%, 48.2%)
CIE-LABlab(49.98, -33.21, 39.83)
CIE-LCHlch(49.98, 51.86, 129.83°)
OKLaboklab(55.76% -0.0923 0.0921)
OKLCHoklch(55.76% 0.13 135.1)
XYZxyz(12.0524, 18.4047, 5.5016)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50842E #622E84
analogous
#7B842E #50842E #2E8437
triadic
#50842E #2E5084 #842E50
tetradic
#50842E #2E7B84 #622E84 #84372E
square
#50842E #2E7B84 #622E84 #84372E
split-complementary
#50842E #372E84 #842E7B
monochromatic
#19290E #34571E #50842E #6CB13E #8CC964

Accessibility & contrast

On white

4.49
#50842E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#50842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50842E
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50842E#FFFFFF#000000##000000
##50842E1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A24
Deuteranopia (green-blind)
#827535
Tritanopia (blue-blind)
#4F7F72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #50842e;
/* rgb */ color: rgb(80, 132, 46);
/* oklch */ color: oklch(55.8% 0.130 135.1);
Tailwind
colors: {
  custom: {
    50: '#85a86b',
    500: '#50842e',
    950: '#000000',
  },
}
SCSS
$custom: #50842e;
$custom-light: #85a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#50842e",
  "rgb": {
    "r": 80,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 96.279,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5576,
    "c": 0.13037,
    "h": 135.1
  },
  "luminance": 0.18405
}

Semantic roles & 50–950 ramp

primary
#50842E
secondary
#8F5EB0
accent
#50D8A2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #50842E

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

Preview Lab → · Contrast checker → · Palette generator →

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