#50811C#50811C

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

Color values

HEX#50811C
RGBrgb(80, 129, 28)
HSLhsl(89, 64%, 31%)
HSVhsv(89, 78%, 51%)
CMYKcmyk(38%, 0%, 78.3%, 49.4%)
CIE-LABlab(48.87, -33.27, 46.06)
CIE-LCHlch(48.87, 56.82, 125.84°)
OKLaboklab(54.81% -0.0939 0.1025)
OKLCHoklch(54.81% 0.139 132.5)
XYZxyz(11.3680, 17.4893, 3.8752)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50811C #4D1C81
analogous
#817F1C #50811C #1D811C
triadic
#50811C #1C5081 #811C50
tetradic
#50811C #1C817F #4D1C81 #811C1D
square
#50811C #1C817F #4D1C81 #811C1D
split-complementary
#50811C #1C1D81 #7F1C81
monochromatic
#121C06 #314F11 #50811C #6FB327 #8ED642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50811C#FFFFFF#000000##FFFFFF
##50811C1.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)
#877704
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#517B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #50811c;
/* rgb */ color: rgb(80, 129, 28);
/* oklch */ color: oklch(54.8% 0.139 132.5);
Tailwind
colors: {
  custom: {
    50: '#86a661',
    500: '#50811c',
    950: '#000000',
  },
}
SCSS
$custom: #50811c;
$custom-light: #86a661;
$custom-dark: #000000;
JSON
{
  "hex": "#50811c",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 89.109,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54807,
    "c": 0.13904,
    "h": 132.5
  },
  "luminance": 0.1749
}

Semantic roles & 50–950 ramp

primary
#50811C
secondary
#7B44B4
accent
#40E791
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #50811C

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

Preview Lab → · Contrast checker → · Palette generator →

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