#5A5513#5A5513

#5A5513 is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 44.1% C 0.084 H 104.9°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#5A5513
RGBrgb(90, 85, 19)
HSLhsl(56, 65%, 21%)
HSVhsv(56, 79%, 35%)
CMYKcmyk(0%, 5.6%, 78.9%, 64.7%)
CIE-LABlab(35.44, -6.46, 36.81)
CIE-LCHlch(35.44, 37.38, 99.95°)
OKLaboklab(44.12% -0.0217 0.0812)
OKLCHoklch(44.12% 0.084 104.9)
XYZxyz(7.5828, 8.7180, 1.8993)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5513 #13185A
analogous
#5A3213 #5A5513 #3C5A13
triadic
#5A5513 #135A55 #55135A
tetradic
#5A5513 #135A32 #13185A #5A133C
square
#5A5513 #135A32 #13185A #5A133C
split-complementary
#5A5513 #133C5A #32135A
monochromatic
#191805 #272508 #5A5513 #8D851E #BFB428

Accessibility & contrast

On white

7.65
#5A5513 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5A5513 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5513
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5513#FFFFFF#000000##FFFFFF
##5A55131.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5207
Deuteranopia (green-blind)
#5F5518
Tritanopia (blue-blind)
#614F48
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5a5513;
/* rgb */ color: rgb(90, 85, 19);
/* oklch */ color: oklch(44.1% 0.084 104.9);
Tailwind
colors: {
  custom: {
    50: '#8b8456',
    500: '#5a5513',
    950: '#000000',
  },
}
SCSS
$custom: #5a5513;
$custom-light: #8b8456;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5513",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 19
  },
  "hsl": {
    "h": 55.775,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4412,
    "c": 0.084,
    "h": 104.9
  },
  "luminance": 0.08718
}

Semantic roles & 50–950 ramp

primary
#5A5513
secondary
#373D92
accent
#4CE840
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5A5513

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

Preview Lab → · Contrast checker → · Palette generator →

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