#50822B#50822B

#50822B is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.2% C 0.130 H 134.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#50822B
RGBrgb(80, 130, 43)
HSLhsl(94, 50%, 34%)
HSVhsv(94, 67%, 51%)
CMYKcmyk(38.5%, 0%, 66.9%, 49%)
CIE-LABlab(49.31, -32.58, 40.45)
CIE-LCHlch(49.31, 51.94, 128.85°)
OKLaboklab(55.2% -0.0908 0.093)
OKLCHoklch(55.2% 0.13 134.3)
XYZxyz(11.7267, 17.8446, 5.1115)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50822B #5D2B82
analogous
#7C822B #50822B #2B8232
triadic
#50822B #2B5082 #822B50
tetradic
#50822B #2B7C82 #5D2B82 #82322B
square
#50822B #2B7C82 #5D2B82 #82322B
split-complementary
#50822B #322B82 #822B7C
monochromatic
#17260D #34541C #50822B #6CB03A #8CCA5E

Accessibility & contrast

On white

4.60
#50822B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#50822B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #50822B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50822B#FFFFFF#000000##FFFFFF
##50822B1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877820
Deuteranopia (green-blind)
#807432
Tritanopia (blue-blind)
#507D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #50822b;
/* rgb */ color: rgb(80, 130, 43);
/* oklch */ color: oklch(55.2% 0.130 134.3);
Tailwind
colors: {
  custom: {
    50: '#85a669',
    500: '#50822b',
    950: '#000000',
  },
}
SCSS
$custom: #50822b;
$custom-light: #85a669;
$custom-dark: #000000;
JSON
{
  "hex": "#50822b",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 43
  },
  "hsl": {
    "h": 94.483,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55199,
    "c": 0.13,
    "h": 134.3
  },
  "luminance": 0.17845
}

Semantic roles & 50–950 ramp

primary
#50822B
secondary
#8B59B0
accent
#4EDA9E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #50822B

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

Preview Lab → · Contrast checker → · Palette generator →

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