#50811F#50811F

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

Color values

HEX#50811F
RGBrgb(80, 129, 31)
HSLhsl(90, 61%, 31%)
HSVhsv(90, 76%, 51%)
CMYKcmyk(38%, 0%, 76%, 49.4%)
CIE-LABlab(48.89, -33.07, 44.99)
CIE-LCHlch(48.89, 55.84, 126.32°)
OKLaboklab(54.83% -0.0931 0.1008)
OKLCHoklch(54.83% 0.137 132.7)
XYZxyz(11.4057, 17.5044, 4.0738)
Luminance0.1751 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50811F #501F81
analogous
#81811F #50811F #1F811F
triadic
#50811F #1F5081 #811F50
tetradic
#50811F #1F8181 #501F81 #811F1F
square
#50811F #1F8181 #501F81 #811F1F
split-complementary
#50811F #1F1F81 #811F81
monochromatic
#131E07 #315013 #50811F #6FB22B #8DD347

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50811F#FFFFFF#000000##FFFFFF
##50811F1.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)
#87770C
Deuteranopia (green-blind)
#807329
Tritanopia (blue-blind)
#517C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #50811f;
/* rgb */ color: rgb(80, 129, 31);
/* oklch */ color: oklch(54.8% 0.137 132.7);
Tailwind
colors: {
  custom: {
    50: '#85a662',
    500: '#50811f',
    950: '#000000',
  },
}
SCSS
$custom: #50811f;
$custom-light: #85a662;
$custom-dark: #000000;
JSON
{
  "hex": "#50811f",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 90,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54828,
    "c": 0.13724,
    "h": 132.7
  },
  "luminance": 0.17505
}

Semantic roles & 50–950 ramp

primary
#50811F
secondary
#7E48B4
accent
#43E494
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #50811F

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

Preview Lab → · Contrast checker → · Palette generator →

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