#50822A#50822A

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

Color values

HEX#50822A
RGBrgb(80, 130, 42)
HSLhsl(94, 51%, 34%)
HSVhsv(94, 68%, 51%)
CMYKcmyk(38.5%, 0%, 67.7%, 49%)
CIE-LABlab(49.30, -32.67, 40.89)
CIE-LCHlch(49.30, 52.34, 128.63°)
OKLaboklab(55.19% -0.0912 0.0938)
OKLCHoklch(55.19% 0.131 134.2)
XYZxyz(11.7086, 17.8374, 5.0161)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50822A #5C2A82
analogous
#7C822A #50822A #2A8230
triadic
#50822A #2A5082 #822A50
tetradic
#50822A #2A7C82 #5C2A82 #82302A
square
#50822A #2A7C82 #5C2A82 #82302A
split-complementary
#50822A #302A82 #822A7C
monochromatic
#17250C #34541B #50822A #6CB039 #8CCA5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50822A#FFFFFF#000000##FFFFFF
##50822A1.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)
#87781E
Deuteranopia (green-blind)
#807431
Tritanopia (blue-blind)
#507D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #50822a;
/* rgb */ color: rgb(80, 130, 42);
/* oklch */ color: oklch(55.2% 0.131 134.2);
Tailwind
colors: {
  custom: {
    50: '#85a668',
    500: '#50822a',
    950: '#000000',
  },
}
SCSS
$custom: #50822a;
$custom-light: #85a668;
$custom-dark: #000000;
JSON
{
  "hex": "#50822a",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 42
  },
  "hsl": {
    "h": 94.091,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55189,
    "c": 0.1308,
    "h": 134.2
  },
  "luminance": 0.17838
}

Semantic roles & 50–950 ramp

primary
#50822A
secondary
#8A58B0
accent
#4DDB9E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #50822A

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

Preview Lab → · Contrast checker → · Palette generator →

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