#50812D#50812D

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

Color values

HEX#50812D
RGBrgb(80, 129, 45)
HSLhsl(95, 48%, 34%)
HSVhsv(95, 65%, 51%)
CMYKcmyk(38%, 0%, 65.1%, 49.4%)
CIE-LABlab(49.00, -31.94, 39.21)
CIE-LCHlch(49.00, 50.57, 129.17°)
OKLaboklab(54.96% -0.0889 0.0906)
OKLCHoklch(54.96% 0.127 134.5)
XYZxyz(11.6319, 17.5949, 5.2654)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50812D #5E2D81
analogous
#7A812D #50812D #2D8134
triadic
#50812D #2D5081 #812D50
tetradic
#50812D #2D7A81 #5E2D81 #81342D
square
#50812D #2D7A81 #5E2D81 #81342D
split-complementary
#50812D #342D81 #812D7A
monochromatic
#18260D #34541D #50812D #6CAE3D #8CC861

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50812D#FFFFFF#000000##FFFFFF
##50812D1.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)
#867723
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#4F7C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #50812d;
/* rgb */ color: rgb(80, 129, 45);
/* oklch */ color: oklch(55.0% 0.127 134.5);
Tailwind
colors: {
  custom: {
    50: '#85a66a',
    500: '#50812d',
    950: '#000000',
  },
}
SCSS
$custom: #50812d;
$custom-light: #85a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#50812d",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 45
  },
  "hsl": {
    "h": 95,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54955,
    "c": 0.12695,
    "h": 134.5
  },
  "luminance": 0.17595
}

Semantic roles & 50–950 ramp

primary
#50812D
secondary
#8C5CAE
accent
#50D89F
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #50812D

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

Preview Lab → · Contrast checker → · Palette generator →

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