#50842A#50842A

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

Color values

HEX#50842A
RGBrgb(80, 132, 42)
HSLhsl(95, 52%, 34%)
HSVhsv(95, 68%, 52%)
CMYKcmyk(39.4%, 0%, 68.2%, 48.2%)
CIE-LABlab(49.95, -33.58, 41.58)
CIE-LCHlch(49.95, 53.45, 128.92°)
OKLaboklab(55.72% -0.0936 0.0953)
OKLCHoklch(55.72% 0.134 134.5)
XYZxyz(11.9772, 18.3746, 5.1056)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50842A #5E2A84
analogous
#7D842A #50842A #2A8431
triadic
#50842A #2A5084 #842A50
tetradic
#50842A #2A7D84 #5E2A84 #84312A
square
#50842A #2A7D84 #5E2A84 #84312A
split-complementary
#50842A #312A84 #842A7D
monochromatic
#18270C #34561B #50842A #6CB239 #8CCB5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #50842a;
/* rgb */ color: rgb(80, 132, 42);
/* oklch */ color: oklch(55.7% 0.134 134.5);
Tailwind
colors: {
  custom: {
    50: '#85a868',
    500: '#50842a',
    950: '#000000',
  },
}
SCSS
$custom: #50842a;
$custom-light: #85a868;
$custom-dark: #000000;
JSON
{
  "hex": "#50842a",
  "rgb": {
    "r": 80,
    "g": 132,
    "b": 42
  },
  "hsl": {
    "h": 94.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55719,
    "c": 0.13358,
    "h": 134.5
  },
  "luminance": 0.18375
}

Semantic roles & 50–950 ramp

primary
#50842A
secondary
#8C59B1
accent
#4DDB9F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #50842A

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

Preview Lab → · Contrast checker → · Palette generator →

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