#5A5613#5A5613

#5A5613 is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.4% C 0.085 H 105.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#5A5613
RGBrgb(90, 86, 19)
HSLhsl(57, 65%, 21%)
HSVhsv(57, 79%, 35%)
CMYKcmyk(0%, 4.4%, 78.9%, 64.7%)
CIE-LABlab(35.75, -7.05, 37.11)
CIE-LCHlch(35.75, 37.77, 100.75°)
OKLaboklab(44.37% -0.0233 0.0818)
OKLCHoklch(44.37% 0.085 105.9)
XYZxyz(7.6621, 8.8765, 1.9257)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5613 #13175A
analogous
#5A3313 #5A5613 #3B5A13
triadic
#5A5613 #135A56 #56135A
tetradic
#5A5613 #135A33 #13175A #5A133B
square
#5A5613 #135A33 #13175A #5A133B
split-complementary
#5A5613 #133B5A #33135A
monochromatic
#191805 #272608 #5A5613 #8D861E #BFB728

Accessibility & contrast

On white

7.57
#5A5613 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5A5613 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A5613
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5613#FFFFFF#000000##FFFFFF
##5A56131.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5307
Deuteranopia (green-blind)
#605518
Tritanopia (blue-blind)
#615049
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5a5613;
/* rgb */ color: rgb(90, 86, 19);
/* oklch */ color: oklch(44.4% 0.085 105.9);
Tailwind
colors: {
  custom: {
    50: '#8b8556',
    500: '#5a5613',
    950: '#000000',
  },
}
SCSS
$custom: #5a5613;
$custom-light: #8b8556;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5613",
  "rgb": {
    "r": 90,
    "g": 86,
    "b": 19
  },
  "hsl": {
    "h": 56.62,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.44367,
    "c": 0.08505,
    "h": 105.9
  },
  "luminance": 0.08876
}

Semantic roles & 50–950 ramp

primary
#5A5613
secondary
#373C92
accent
#49E840
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5A5613

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

Preview Lab → · Contrast checker → · Palette generator →

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