#50822D#50822D

#50822D is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.2% C 0.128 H 134.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#50822D
RGBrgb(80, 130, 45)
HSLhsl(95, 49%, 34%)
HSVhsv(95, 65%, 51%)
CMYKcmyk(38.5%, 0%, 65.4%, 49%)
CIE-LABlab(49.33, -32.40, 39.56)
CIE-LCHlch(49.33, 51.13, 129.31°)
OKLaboklab(55.22% -0.0902 0.0914)
OKLCHoklch(55.22% 0.128 134.6)
XYZxyz(11.7643, 17.8597, 5.3095)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50822D #5F2D82
analogous
#7B822D #50822D #2D8235
triadic
#50822D #2D5082 #822D50
tetradic
#50822D #2D7B82 #5F2D82 #82352D
square
#50822D #2D7B82 #5F2D82 #82352D
split-complementary
#50822D #352D82 #822D7B
monochromatic
#18270E #34551D #50822D #6CAF3D #8CC861

Accessibility & contrast

On white

4.59
#50822D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #50822D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50822D#FFFFFF#000000##FFFFFF
##50822D1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877823
Deuteranopia (green-blind)
#807434
Tritanopia (blue-blind)
#4F7D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #50822d;
/* rgb */ color: rgb(80, 130, 45);
/* oklch */ color: oklch(55.2% 0.128 134.6);
Tailwind
colors: {
  custom: {
    50: '#85a66a',
    500: '#50822d',
    950: '#000000',
  },
}
SCSS
$custom: #50822d;
$custom-light: #85a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#50822d",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 45
  },
  "hsl": {
    "h": 95.294,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5522,
    "c": 0.12837,
    "h": 134.6
  },
  "luminance": 0.1786
}

Semantic roles & 50–950 ramp

primary
#50822D
secondary
#8D5CAF
accent
#50D8A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #50822D

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

Preview Lab → · Contrast checker → · Palette generator →

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