#50801C#50801C

#50801C is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.5% C 0.138 H 132.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#50801C
RGBrgb(80, 128, 28)
HSLhsl(89, 64%, 31%)
HSVhsv(89, 78%, 50%)
CMYKcmyk(37.5%, 0%, 78.1%, 49.8%)
CIE-LABlab(48.55, -32.81, 45.75)
CIE-LCHlch(48.55, 56.30, 125.65°)
OKLaboklab(54.54% -0.0927 0.1019)
OKLCHoklch(54.54% 0.138 132.3)
XYZxyz(11.2369, 17.2272, 3.8315)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50801C #4C1C80
analogous
#807E1C #50801C #1E801C
triadic
#50801C #1C5080 #801C50
tetradic
#50801C #1C807E #4C1C80 #801C1E
square
#50801C #1C807E #4C1C80 #801C1E
split-complementary
#50801C #1C1E80 #7E1C80
monochromatic
#111C06 #314E11 #50801C #6FB227 #8ED541

Accessibility & contrast

On white

4.72
#50801C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#50801C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #50801C
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50801C#FFFFFF#000000##FFFFFF
##50801C1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867605
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#517B6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #50801c;
/* rgb */ color: rgb(80, 128, 28);
/* oklch */ color: oklch(54.5% 0.138 132.3);
Tailwind
colors: {
  custom: {
    50: '#86a560',
    500: '#50801c',
    950: '#000000',
  },
}
SCSS
$custom: #50801c;
$custom-light: #86a560;
$custom-dark: #000000;
JSON
{
  "hex": "#50801c",
  "rgb": {
    "r": 80,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 88.8,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54541,
    "c": 0.13773,
    "h": 132.3
  },
  "luminance": 0.17228
}

Semantic roles & 50–950 ramp

primary
#50801C
secondary
#7A44B3
accent
#41E791
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #50801C

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

Preview Lab → · Contrast checker → · Palette generator →

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