#50811E#50811E

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

Color values

HEX#50811E
RGBrgb(80, 129, 30)
HSLhsl(90, 62%, 31%)
HSVhsv(90, 77%, 51%)
CMYKcmyk(38%, 0%, 76.7%, 49.4%)
CIE-LABlab(48.88, -33.14, 45.35)
CIE-LCHlch(48.88, 56.17, 126.16°)
OKLaboklab(54.82% -0.0934 0.1014)
OKLCHoklch(54.82% 0.138 132.7)
XYZxyz(11.3927, 17.4992, 4.0055)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50811E #4F1E81
analogous
#81801E #50811E #1E811E
triadic
#50811E #1E5081 #811E50
tetradic
#50811E #1E8180 #4F1E81 #811E1E
square
#50811E #1E8180 #4F1E81 #811E1E
split-complementary
#50811E #1E1E81 #801E81
monochromatic
#121E07 #314F12 #50811E #6FB32A #8DD446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50811E#FFFFFF#000000##FFFFFF
##50811E1.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)
#877709
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#517C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #50811e;
/* rgb */ color: rgb(80, 129, 30);
/* oklch */ color: oklch(54.8% 0.138 132.7);
Tailwind
colors: {
  custom: {
    50: '#86a662',
    500: '#50811e',
    950: '#000000',
  },
}
SCSS
$custom: #50811e;
$custom-light: #86a662;
$custom-dark: #000000;
JSON
{
  "hex": "#50811e",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 89.697,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54821,
    "c": 0.13785,
    "h": 132.7
  },
  "luminance": 0.175
}

Semantic roles & 50–950 ramp

primary
#50811E
secondary
#7D47B4
accent
#42E593
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #50811E

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

Preview Lab → · Contrast checker → · Palette generator →

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