#50812B#50812B

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

Color values

HEX#50812B
RGBrgb(80, 129, 43)
HSLhsl(94, 50%, 34%)
HSVhsv(94, 67%, 51%)
CMYKcmyk(38%, 0%, 66.7%, 49.4%)
CIE-LABlab(48.98, -32.12, 40.10)
CIE-LCHlch(48.98, 51.38, 128.70°)
OKLaboklab(54.93% -0.0896 0.0923)
OKLCHoklch(54.93% 0.129 134.2)
XYZxyz(11.5943, 17.5799, 5.0674)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50812B #5C2B81
analogous
#7B812B #50812B #2B8131
triadic
#50812B #2B5081 #812B50
tetradic
#50812B #2B7B81 #5C2B81 #81312B
square
#50812B #2B7B81 #5C2B81 #81312B
split-complementary
#50812B #312B81 #812B7B
monochromatic
#17250C #34531C #50812B #6CAF3A #8CC95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50812B#FFFFFF#000000##FFFFFF
##50812B1.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)
#867720
Deuteranopia (green-blind)
#7F7332
Tritanopia (blue-blind)
#507C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #50812b;
/* rgb */ color: rgb(80, 129, 43);
/* oklch */ color: oklch(54.9% 0.129 134.2);
Tailwind
colors: {
  custom: {
    50: '#85a669',
    500: '#50812b',
    950: '#000000',
  },
}
SCSS
$custom: #50812b;
$custom-light: #85a669;
$custom-dark: #000000;
JSON
{
  "hex": "#50812b",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 43
  },
  "hsl": {
    "h": 94.186,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54934,
    "c": 0.1286,
    "h": 134.2
  },
  "luminance": 0.1758
}

Semantic roles & 50–950 ramp

primary
#50812B
secondary
#8A59AF
accent
#4EDA9E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #50812B

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

Preview Lab → · Contrast checker → · Palette generator →

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