#50811A#50811A

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

Color values

HEX#50811A
RGBrgb(80, 129, 26)
HSLhsl(89, 66%, 30%)
HSVhsv(89, 80%, 51%)
CMYKcmyk(38%, 0%, 79.8%, 49.4%)
CIE-LABlab(48.86, -33.38, 46.74)
CIE-LCHlch(48.86, 57.44, 125.54°)
OKLaboklab(54.79% -0.0944 0.1036)
OKLCHoklch(54.79% 0.14 132.3)
XYZxyz(11.3448, 17.4801, 3.7533)
Luminance0.1748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50811A #4B1A81
analogous
#817F1A #50811A #1C811A
triadic
#50811A #1A5081 #811A50
tetradic
#50811A #1A817F #4B1A81 #811A1C
square
#50811A #1A817F #4B1A81 #811A1C
split-complementary
#50811A #1A1C81 #7F1A81
monochromatic
#111B05 #304E10 #50811A #70B424 #8ED83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50811A#FFFFFF#000000##FFFFFF
##50811A1.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)
#877700
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#517B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #50811a;
/* rgb */ color: rgb(80, 129, 26);
/* oklch */ color: oklch(54.8% 0.140 132.3);
Tailwind
colors: {
  custom: {
    50: '#86a660',
    500: '#50811a',
    950: '#000000',
  },
}
SCSS
$custom: #50811a;
$custom-light: #86a660;
$custom-dark: #000000;
JSON
{
  "hex": "#50811a",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 88.544,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54794,
    "c": 0.14016,
    "h": 132.3
  },
  "luminance": 0.17481
}

Semantic roles & 50–950 ramp

primary
#50811A
secondary
#7942B5
accent
#3EE990
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #50811A

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

Preview Lab → · Contrast checker → · Palette generator →

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