#50811B#50811B

#50811B is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.8% C 0.140 H 132.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#50811B
RGBrgb(80, 129, 27)
HSLhsl(89, 65%, 31%)
HSVhsv(89, 79%, 51%)
CMYKcmyk(38%, 0%, 79.1%, 49.4%)
CIE-LABlab(48.86, -33.33, 46.40)
CIE-LCHlch(48.86, 57.13, 125.69°)
OKLaboklab(54.8% -0.0941 0.1031)
OKLCHoklch(54.8% 0.14 132.4)
XYZxyz(11.3562, 17.4846, 3.8132)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50811B #4C1B81
analogous
#817F1B #50811B #1D811B
triadic
#50811B #1B5081 #811B50
tetradic
#50811B #1B817F #4C1B81 #811B1D
square
#50811B #1B817F #4C1B81 #811B1D
split-complementary
#50811B #1B1D81 #7F1B81
monochromatic
#111C06 #314E10 #50811B #6FB426 #8ED73F

Accessibility & contrast

On white

4.67
#50811B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#50811B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #50811B
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50811B#FFFFFF#000000##FFFFFF
##50811B1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877702
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#517B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #50811b;
/* rgb */ color: rgb(80, 129, 27);
/* oklch */ color: oklch(54.8% 0.140 132.4);
Tailwind
colors: {
  custom: {
    50: '#86a660',
    500: '#50811b',
    950: '#000000',
  },
}
SCSS
$custom: #50811b;
$custom-light: #86a660;
$custom-dark: #000000;
JSON
{
  "hex": "#50811b",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 88.824,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.548,
    "c": 0.13961,
    "h": 132.4
  },
  "luminance": 0.17485
}

Semantic roles & 50–950 ramp

primary
#50811B
secondary
#7A43B5
accent
#3FE891
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #50811B

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

Preview Lab → · Contrast checker → · Palette generator →

#50811B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva