#50812E#50812E

#50812E is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.0% C 0.126 H 134.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#50812E
RGBrgb(80, 129, 46)
HSLhsl(95, 47%, 34%)
HSVhsv(95, 64%, 51%)
CMYKcmyk(38%, 0%, 64.3%, 49.4%)
CIE-LABlab(49.01, -31.84, 38.75)
CIE-LCHlch(49.01, 50.15, 129.41°)
OKLaboklab(54.97% -0.0886 0.0898)
OKLCHoklch(54.97% 0.126 134.6)
XYZxyz(11.6514, 17.6027, 5.3680)
Luminance0.1760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50812E #5F2E81
analogous
#7A812E #50812E #2E8136
triadic
#50812E #2E5081 #812E50
tetradic
#50812E #2E7A81 #5F2E81 #81362E
square
#50812E #2E7A81 #5F2E81 #81362E
split-complementary
#50812E #362E81 #812E7A
monochromatic
#18270E #34541E #50812E #6CAE3E #8CC762

Accessibility & contrast

On white

4.65
#50812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#50812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #50812E
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50812E#FFFFFF#000000##FFFFFF
##50812E1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867724
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#4F7C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #50812e;
/* rgb */ color: rgb(80, 129, 46);
/* oklch */ color: oklch(55.0% 0.126 134.6);
Tailwind
colors: {
  custom: {
    50: '#85a66a',
    500: '#50812e',
    950: '#000000',
  },
}
SCSS
$custom: #50812e;
$custom-light: #85a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#50812e",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 95.422,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54966,
    "c": 0.12612,
    "h": 134.6
  },
  "luminance": 0.17603
}

Semantic roles & 50–950 ramp

primary
#50812E
secondary
#8D5DAE
accent
#51D7A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #50812E

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

Preview Lab → · Contrast checker → · Palette generator →

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