#50822F#50822F

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

Color values

HEX#50822F
RGBrgb(80, 130, 47)
HSLhsl(96, 47%, 35%)
HSVhsv(96, 64%, 51%)
CMYKcmyk(38.5%, 0%, 63.8%, 49%)
CIE-LABlab(49.34, -32.20, 38.65)
CIE-LCHlch(49.34, 50.31, 129.80°)
OKLaboklab(55.24% -0.0895 0.0897)
OKLCHoklch(55.24% 0.127 134.9)
XYZxyz(11.8037, 17.8754, 5.5171)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50822F #612F82
analogous
#7A822F #50822F #2F8238
triadic
#50822F #2F5082 #822F50
tetradic
#50822F #2F7A82 #612F82 #82382F
square
#50822F #2F7A82 #612F82 #82382F
split-complementary
#50822F #382F82 #822F7A
monochromatic
#19280E #34551F #50822F #6CAF3F #8CC764

Accessibility & contrast

On white

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

On black

4.58
#50822F on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##50822F#FFFFFF#000000##FFFFFF
##50822F1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #50822f;
/* rgb */ color: rgb(80, 130, 47);
/* oklch */ color: oklch(55.2% 0.127 134.9);
Tailwind
colors: {
  custom: {
    50: '#85a66b',
    500: '#50822f',
    950: '#000000',
  },
}
SCSS
$custom: #50822f;
$custom-light: #85a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#50822f",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 47
  },
  "hsl": {
    "h": 96.145,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55241,
    "c": 0.12669,
    "h": 134.9
  },
  "luminance": 0.17876
}

Semantic roles & 50–950 ramp

primary
#50822F
secondary
#8F5FAE
accent
#51D7A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #50822F

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

Preview Lab → · Contrast checker → · Palette generator →

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