#50812A#50812A

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

Color values

HEX#50812A
RGBrgb(80, 129, 42)
HSLhsl(94, 51%, 34%)
HSVhsv(94, 67%, 51%)
CMYKcmyk(38%, 0%, 67.4%, 49.4%)
CIE-LABlab(48.97, -32.21, 40.54)
CIE-LCHlch(48.97, 51.78, 128.47°)
OKLaboklab(54.92% -0.0899 0.093)
OKLCHoklch(54.92% 0.129 134)
XYZxyz(11.5762, 17.5726, 4.9719)
Luminance0.1757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50812A #5B2A81
analogous
#7B812A #50812A #2A812F
triadic
#50812A #2A5081 #812A50
tetradic
#50812A #2A7B81 #5B2A81 #812F2A
square
#50812A #2A7B81 #5B2A81 #812F2A
split-complementary
#50812A #2F2A81 #812A7B
monochromatic
#17250C #33531B #50812A #6DAF39 #8CCA5C

Accessibility & contrast

On white

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

On black

4.51
#50812A on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##50812A#FFFFFF#000000##FFFFFF
##50812A1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771F
Deuteranopia (green-blind)
#7F7331
Tritanopia (blue-blind)
#507C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #50812a;
/* rgb */ color: rgb(80, 129, 42);
/* oklch */ color: oklch(54.9% 0.129 134.0);
Tailwind
colors: {
  custom: {
    50: '#85a668',
    500: '#50812a',
    950: '#000000',
  },
}
SCSS
$custom: #50812a;
$custom-light: #85a668;
$custom-dark: #000000;
JSON
{
  "hex": "#50812a",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 93.793,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54924,
    "c": 0.1294,
    "h": 134
  },
  "luminance": 0.17573
}

Semantic roles & 50–950 ramp

primary
#50812A
secondary
#8957AF
accent
#4DDA9D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #50812A

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

Preview Lab → · Contrast checker → · Palette generator →

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