#50812F#50812F

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

Color values

HEX#50812F
RGBrgb(80, 129, 47)
HSLhsl(96, 47%, 35%)
HSVhsv(96, 64%, 51%)
CMYKcmyk(38%, 0%, 63.6%, 49.4%)
CIE-LABlab(49.02, -31.74, 38.29)
CIE-LCHlch(49.02, 49.74, 129.65°)
OKLaboklab(54.98% -0.0882 0.0889)
OKLCHoklch(54.98% 0.125 134.8)
XYZxyz(11.6714, 17.6107, 5.4730)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50812F #602F81
analogous
#79812F #50812F #2F8137
triadic
#50812F #2F5081 #812F50
tetradic
#50812F #2F7981 #602F81 #81372F
square
#50812F #2F7981 #602F81 #81372F
split-complementary
#50812F #372F81 #812F79
monochromatic
#18270E #34541F #50812F #6CAE3F #8CC664

Accessibility & contrast

On white

4.64
#50812F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #50812F
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50812F#FFFFFF#000000##FFFFFF
##50812F1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867726
Deuteranopia (green-blind)
#7F7335
Tritanopia (blue-blind)
#4F7C70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #50812f;
/* rgb */ color: rgb(80, 129, 47);
/* oklch */ color: oklch(55.0% 0.125 134.8);
Tailwind
colors: {
  custom: {
    50: '#85a66b',
    500: '#50812f',
    950: '#000000',
  },
}
SCSS
$custom: #50812f;
$custom-light: #85a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#50812f",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 47
  },
  "hsl": {
    "h": 95.854,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54977,
    "c": 0.12525,
    "h": 134.8
  },
  "luminance": 0.17611
}

Semantic roles & 50–950 ramp

primary
#50812F
secondary
#8E5EAD
accent
#52D6A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #50812F

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

Preview Lab → · Contrast checker → · Palette generator →

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