#50822C#50822C

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

Color values

HEX#50822C
RGBrgb(80, 130, 44)
HSLhsl(95, 49%, 34%)
HSVhsv(95, 66%, 51%)
CMYKcmyk(38.5%, 0%, 66.2%, 49%)
CIE-LABlab(49.32, -32.49, 40.01)
CIE-LCHlch(49.32, 51.54, 129.08°)
OKLaboklab(55.21% -0.0905 0.0922)
OKLCHoklch(55.21% 0.129 134.5)
XYZxyz(11.7453, 17.8520, 5.2093)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50822C #5E2C82
analogous
#7B822C #50822C #2C8233
triadic
#50822C #2C5082 #822C50
tetradic
#50822C #2C7B82 #5E2C82 #82332C
square
#50822C #2C7B82 #5E2C82 #82332C
split-complementary
#50822C #332C82 #822C7B
monochromatic
#18270D #34541D #50822C #6CB03B #8CC95F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50822C#FFFFFF#000000##FFFFFF
##50822C1.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)
#877821
Deuteranopia (green-blind)
#807433
Tritanopia (blue-blind)
#4F7D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #50822c;
/* rgb */ color: rgb(80, 130, 44);
/* oklch */ color: oklch(55.2% 0.129 134.5);
Tailwind
colors: {
  custom: {
    50: '#85a669',
    500: '#50822c',
    950: '#000000',
  },
}
SCSS
$custom: #50822c;
$custom-light: #85a669;
$custom-dark: #000000;
JSON
{
  "hex": "#50822c",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 44
  },
  "hsl": {
    "h": 94.884,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55209,
    "c": 0.12919,
    "h": 134.5
  },
  "luminance": 0.17853
}

Semantic roles & 50–950 ramp

primary
#50822C
secondary
#8C5BAF
accent
#4FD99F
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #50822C

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

Preview Lab → · Contrast checker → · Palette generator →

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