#5A5713#5A5713

#5A5713 is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.6% C 0.086 H 106.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#5A5713
RGBrgb(90, 87, 19)
HSLhsl(57, 65%, 21%)
HSVhsv(57, 79%, 35%)
CMYKcmyk(0%, 3.3%, 78.9%, 64.7%)
CIE-LABlab(36.06, -7.63, 37.40)
CIE-LCHlch(36.06, 38.17, 101.53°)
OKLaboklab(44.61% -0.025 0.0824)
OKLCHoklch(44.61% 0.086 106.9)
XYZxyz(7.7425, 9.0373, 1.9525)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5713 #13165A
analogous
#5A3413 #5A5713 #3A5A13
triadic
#5A5713 #135A57 #57135A
tetradic
#5A5713 #135A34 #13165A #5A133A
square
#5A5713 #135A34 #13165A #5A133A
split-complementary
#5A5713 #133A5A #34135A
monochromatic
#191805 #272608 #5A5713 #8D881E #BFB928

Accessibility & contrast

On white

7.48
#5A5713 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5A5713 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5713
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5713#FFFFFF#000000##FFFFFF
##5A57131.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5306
Deuteranopia (green-blind)
#605618
Tritanopia (blue-blind)
#61514A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5a5713;
/* rgb */ color: rgb(90, 87, 19);
/* oklch */ color: oklch(44.6% 0.086 106.9);
Tailwind
colors: {
  custom: {
    50: '#8b8657',
    500: '#5a5713',
    950: '#000000',
  },
}
SCSS
$custom: #5a5713;
$custom-light: #8b8657;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5713",
  "rgb": {
    "r": 90,
    "g": 87,
    "b": 19
  },
  "hsl": {
    "h": 57.465,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.44614,
    "c": 0.08611,
    "h": 106.9
  },
  "luminance": 0.09037
}

Semantic roles & 50–950 ramp

primary
#5A5713
secondary
#373A92
accent
#47E840
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A5713

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

Preview Lab → · Contrast checker → · Palette generator →

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