#50842B#50842B

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

Color values

HEX#50842B
RGBrgb(80, 132, 43)
HSLhsl(95, 51%, 34%)
HSVhsv(95, 67%, 52%)
CMYKcmyk(39.4%, 0%, 67.4%, 48.2%)
CIE-LABlab(49.96, -33.49, 41.15)
CIE-LCHlch(49.96, 53.06, 129.14°)
OKLaboklab(55.73% -0.0933 0.0945)
OKLCHoklch(55.73% 0.133 134.6)
XYZxyz(11.9953, 18.3818, 5.2010)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50842B #5F2B84
analogous
#7D842B #50842B #2B8433
triadic
#50842B #2B5084 #842B50
tetradic
#50842B #2B7D84 #5F2B84 #84332B
square
#50842B #2B7D84 #5F2B84 #84332B
split-complementary
#50842B #332B84 #842B7D
monochromatic
#18280D #34561C #50842B #6CB23A #8CCB5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50842B#FFFFFF#000000##000000
##50842B1.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)
#897A1F
Deuteranopia (green-blind)
#827532
Tritanopia (blue-blind)
#4F7F72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #50842b;
/* rgb */ color: rgb(80, 132, 43);
/* oklch */ color: oklch(55.7% 0.133 134.6);
Tailwind
colors: {
  custom: {
    50: '#85a869',
    500: '#50842b',
    950: '#000000',
  },
}
SCSS
$custom: #50842b;
$custom-light: #85a869;
$custom-dark: #000000;
JSON
{
  "hex": "#50842b",
  "rgb": {
    "r": 80,
    "g": 132,
    "b": 43
  },
  "hsl": {
    "h": 95.056,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55729,
    "c": 0.1328,
    "h": 134.6
  },
  "luminance": 0.18382
}

Semantic roles & 50–950 ramp

primary
#50842B
secondary
#8D5AB1
accent
#4DDAA0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #50842B

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

Preview Lab → · Contrast checker → · Palette generator →

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