#505D19#505D19

#505D19 is a mid, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.3% C 0.092 H 119.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#505D19
RGBrgb(80, 93, 25)
HSLhsl(71, 58%, 23%)
HSVhsv(71, 73%, 36%)
CMYKcmyk(14%, 0%, 73.1%, 63.5%)
CIE-LABlab(37.12, -15.49, 35.64)
CIE-LCHlch(37.12, 38.86, 113.49°)
OKLaboklab(45.27% -0.0456 0.0802)
OKLCHoklch(45.27% 0.092 119.6)
XYZxyz(7.3982, 9.6044, 2.3836)
Luminance0.0960 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505D19 #26195D
analogous
#5D4819 #505D19 #2E5D19
triadic
#505D19 #19505D #5D1950
tetradic
#505D19 #195D48 #26195D #5D192E
square
#505D19 #195D48 #26195D #5D192E
split-complementary
#505D19 #192E5D #48195D
monochromatic
#151806 #272D0C #505D19 #798D26 #A3BD33

Accessibility & contrast

On white

7.19
#505D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#505D19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505D19
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505D19#FFFFFF#000000##FFFFFF
##505D191.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570F
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#55584F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #505d19;
/* rgb */ color: rgb(80, 93, 25);
/* oklch */ color: oklch(45.3% 0.092 119.6);
Tailwind
colors: {
  custom: {
    50: '#838a5a',
    500: '#505d19',
    950: '#000000',
  },
}
SCSS
$custom: #505d19;
$custom-light: #838a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#505d19",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 25
  },
  "hsl": {
    "h": 71.471,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45265,
    "c": 0.09225,
    "h": 119.6
  },
  "luminance": 0.09604
}

Semantic roles & 50–950 ramp

primary
#505D19
secondary
#4F3F93
accent
#47E164
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #505D19

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

Preview Lab → · Contrast checker → · Palette generator →

#505D19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva