#505019#505019

#505019 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.9% C 0.075 H 109.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#505019
RGBrgb(80, 80, 25)
HSLhsl(60, 52%, 21%)
HSVhsv(60, 69%, 31%)
CMYKcmyk(0%, 0%, 68.8%, 68.6%)
CIE-LABlab(32.95, -8.07, 31.32)
CIE-LCHlch(32.95, 32.34, 104.45°)
OKLaboklab(41.92% -0.0248 0.0711)
OKLCHoklch(41.92% 0.075 109.2)
XYZxyz(6.3526, 7.5132, 2.0351)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505019 #191950
analogous
#503419 #505019 #345019
triadic
#505019 #195050 #501950
tetradic
#505019 #195034 #191950 #501934
square
#505019 #195034 #191950 #501934
split-complementary
#505019 #193450 #341950
monochromatic
#171707 #21210A #505019 #7F7F28 #ADAD36

Accessibility & contrast

On white

8.39
#505019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#505019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505019
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505019#FFFFFF#000000##FFFFFF
##5050191.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C12
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#564B45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #505019;
/* rgb */ color: rgb(80, 80, 25);
/* oklch */ color: oklch(41.9% 0.075 109.2);
Tailwind
colors: {
  custom: {
    50: '#838059',
    500: '#505019',
    950: '#000000',
  },
}
SCSS
$custom: #505019;
$custom-light: #838059;
$custom-dark: #000000;
JSON
{
  "hex": "#505019",
  "rgb": {
    "r": 80,
    "g": 80,
    "b": 25
  },
  "hsl": {
    "h": 60,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41918,
    "c": 0.07529,
    "h": 109.2
  },
  "luminance": 0.07513
}

Semantic roles & 50–950 ramp

primary
#505019
secondary
#3E3E86
accent
#4CDC4C
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #505019

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

Preview Lab → · Contrast checker → · Palette generator →

#505019 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva