#5A5413#5A5413

#5A5413 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 43.9% C 0.083 H 103.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#5A5413
RGBrgb(90, 84, 19)
HSLhsl(55, 65%, 21%)
HSVhsv(55, 79%, 35%)
CMYKcmyk(0%, 6.7%, 78.9%, 64.7%)
CIE-LABlab(35.13, -5.87, 36.52)
CIE-LCHlch(35.13, 36.99, 99.13°)
OKLaboklab(43.87% -0.02 0.0805)
OKLCHoklch(43.87% 0.083 103.9)
XYZxyz(7.5046, 8.5616, 1.8732)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5413 #13195A
analogous
#5A3113 #5A5413 #3D5A13
triadic
#5A5413 #135A54 #54135A
tetradic
#5A5413 #135A31 #13195A #5A133D
square
#5A5413 #135A31 #13195A #5A133D
split-complementary
#5A5413 #133D5A #31135A
monochromatic
#191805 #272508 #5A5413 #8D831E #BFB228

Accessibility & contrast

On white

7.74
#5A5413 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5A5413 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5413
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5413#FFFFFF#000000##FFFFFF
##5A54131.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5107
Deuteranopia (green-blind)
#5E5418
Tritanopia (blue-blind)
#614E47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5a5413;
/* rgb */ color: rgb(90, 84, 19);
/* oklch */ color: oklch(43.9% 0.083 103.9);
Tailwind
colors: {
  custom: {
    50: '#8b8356',
    500: '#5a5413',
    950: '#000000',
  },
}
SCSS
$custom: #5a5413;
$custom-light: #8b8356;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5413",
  "rgb": {
    "r": 90,
    "g": 84,
    "b": 19
  },
  "hsl": {
    "h": 54.93,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43873,
    "c": 0.08298,
    "h": 103.9
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#5A5413
secondary
#373E92
accent
#4EE840
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5A5413

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

Preview Lab → · Contrast checker → · Palette generator →

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