#50812C#50812C

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

Color values

HEX#50812C
RGBrgb(80, 129, 44)
HSLhsl(95, 49%, 34%)
HSVhsv(95, 66%, 51%)
CMYKcmyk(38%, 0%, 65.9%, 49.4%)
CIE-LABlab(48.99, -32.03, 39.65)
CIE-LCHlch(48.99, 50.97, 128.93°)
OKLaboklab(54.94% -0.0893 0.0914)
OKLCHoklch(54.94% 0.128 134.3)
XYZxyz(11.6129, 17.5873, 5.1652)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50812C #5D2C81
analogous
#7B812C #50812C #2C8133
triadic
#50812C #2C5081 #812C50
tetradic
#50812C #2C7B81 #5D2C81 #81332C
square
#50812C #2C7B81 #5D2C81 #81332C
split-complementary
#50812C #332C81 #812C7B
monochromatic
#17260D #34531C #50812C #6CAF3C #8CC85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50812C#FFFFFF#000000##FFFFFF
##50812C1.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)
#867722
Deuteranopia (green-blind)
#7F7333
Tritanopia (blue-blind)
#507C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #50812c;
/* rgb */ color: rgb(80, 129, 44);
/* oklch */ color: oklch(54.9% 0.128 134.3);
Tailwind
colors: {
  custom: {
    50: '#85a669',
    500: '#50812c',
    950: '#000000',
  },
}
SCSS
$custom: #50812c;
$custom-light: #85a669;
$custom-dark: #000000;
JSON
{
  "hex": "#50812c",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 44
  },
  "hsl": {
    "h": 94.588,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54944,
    "c": 0.12778,
    "h": 134.3
  },
  "luminance": 0.17588
}

Semantic roles & 50–950 ramp

primary
#50812C
secondary
#8B5AAF
accent
#4FD99E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #50812C

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

Preview Lab → · Contrast checker → · Palette generator →

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