#50801F#50801F

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

Color values

HEX#50801F
RGBrgb(80, 128, 31)
HSLhsl(90, 61%, 31%)
HSVhsv(90, 76%, 50%)
CMYKcmyk(37.5%, 0%, 75.8%, 49.8%)
CIE-LABlab(48.56, -32.62, 44.66)
CIE-LCHlch(48.56, 55.31, 126.14°)
OKLaboklab(54.56% -0.0919 0.1001)
OKLCHoklch(54.56% 0.136 132.6)
XYZxyz(11.2746, 17.2423, 4.0301)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50801F #4F1F80
analogous
#807F1F #50801F #1F801F
triadic
#50801F #1F5080 #801F50
tetradic
#50801F #1F807F #4F1F80 #801F1F
square
#50801F #1F807F #4F1F80 #801F1F
split-complementary
#50801F #1F1F80 #7F1F80
monochromatic
#121D07 #314F13 #50801F #6FB12B #8DD247

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50801F#FFFFFF#000000##FFFFFF
##50801F1.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)
#86760C
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#517B6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #50801f;
/* rgb */ color: rgb(80, 128, 31);
/* oklch */ color: oklch(54.6% 0.136 132.6);
Tailwind
colors: {
  custom: {
    50: '#85a562',
    500: '#50801f',
    950: '#000000',
  },
}
SCSS
$custom: #50801f;
$custom-light: #85a562;
$custom-dark: #000000;
JSON
{
  "hex": "#50801f",
  "rgb": {
    "r": 80,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 89.691,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54562,
    "c": 0.13591,
    "h": 132.6
  },
  "luminance": 0.17243
}

Semantic roles & 50–950 ramp

primary
#50801F
secondary
#7D48B3
accent
#44E493
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #50801F

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

Preview Lab → · Contrast checker → · Palette generator →

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