#5A4C19#5A4C19

#5A4C19 is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 42.0% C 0.071 H 93.6°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#5A4C19
RGBrgb(90, 76, 25)
HSLhsl(47, 57%, 23%)
HSVhsv(47, 72%, 35%)
CMYKcmyk(0%, 15.6%, 72.2%, 64.7%)
CIE-LABlab(32.73, -0.69, 31.40)
CIE-LCHlch(32.73, 31.40, 91.26°)
OKLaboklab(41.99% -0.0045 0.0709)
OKLCHoklch(41.99% 0.071 93.6)
XYZxyz(6.9767, 7.4131, 1.9829)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4C19 #19275A
analogous
#5A2B19 #5A4C19 #475A19
triadic
#5A4C19 #195A4C #4C195A
tetradic
#5A4C19 #195A2B #19275A #5A1947
square
#5A4C19 #195A2B #19275A #5A1947
split-complementary
#5A4C19 #19475A #2B195A
monochromatic
#181407 #2A240C #5A4C19 #8A7426 #BA9D34

Accessibility & contrast

On white

8.46
#5A4C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5A4C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4C19
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4C19#FFFFFF#000000##FFFFFF
##5A4C191.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B13
Deuteranopia (green-blind)
#584F1C
Tritanopia (blue-blind)
#624641
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5a4c19;
/* rgb */ color: rgb(90, 76, 25);
/* oklch */ color: oklch(42.0% 0.071 93.6);
Tailwind
colors: {
  custom: {
    50: '#8b7d59',
    500: '#5a4c19',
    950: '#000000',
  },
}
SCSS
$custom: #5a4c19;
$custom-light: #8b7d59;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4c19",
  "rgb": {
    "r": 90,
    "g": 76,
    "b": 25
  },
  "hsl": {
    "h": 47.077,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41989,
    "c": 0.07106,
    "h": 93.6
  },
  "luminance": 0.07413
}

Semantic roles & 50–950 ramp

primary
#5A4C19
secondary
#3E5090
accent
#69E048
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #5A4C19

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

Preview Lab → · Contrast checker → · Palette generator →

#5A4C19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva