#505A19#505A19

#505A19 is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.5% C 0.088 H 117.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#505A19
RGBrgb(80, 90, 25)
HSLhsl(69, 57%, 23%)
HSVhsv(69, 72%, 35%)
CMYKcmyk(11.1%, 0%, 72.2%, 64.7%)
CIE-LABlab(36.15, -13.83, 34.65)
CIE-LCHlch(36.15, 37.31, 111.75°)
OKLaboklab(44.49% -0.041 0.0781)
OKLCHoklch(44.49% 0.088 117.7)
XYZxyz(7.1400, 9.0881, 2.2975)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505A19 #23195A
analogous
#5A4419 #505A19 #2F5A19
triadic
#505A19 #19505A #5A1950
tetradic
#505A19 #195A44 #23195A #5A192F
square
#505A19 #195A44 #23195A #5A192F
split-complementary
#505A19 #192F5A #44195A
monochromatic
#151807 #252A0C #505A19 #7B8A26 #A5BA34

Accessibility & contrast

On white

7.45
#505A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#505A19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505A19
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505A19#FFFFFF#000000##FFFFFF
##505A191.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605510
Deuteranopia (green-blind)
#5F551E
Tritanopia (blue-blind)
#55554D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #505a19;
/* rgb */ color: rgb(80, 90, 25);
/* oklch */ color: oklch(44.5% 0.088 117.7);
Tailwind
colors: {
  custom: {
    50: '#83885a',
    500: '#505a19',
    950: '#000000',
  },
}
SCSS
$custom: #505a19;
$custom-light: #83885a;
$custom-dark: #000000;
JSON
{
  "hex": "#505a19",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 25
  },
  "hsl": {
    "h": 69.231,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44485,
    "c": 0.0882,
    "h": 117.7
  },
  "luminance": 0.09088
}

Semantic roles & 50–950 ramp

primary
#505A19
secondary
#4B3E90
accent
#48E05F
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #505A19

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

Preview Lab → · Contrast checker → · Palette generator →

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