#5A551A#5A551A

#5A551A is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 44.2% C 0.079 H 104.5°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#5A551A
RGBrgb(90, 85, 26)
HSLhsl(55, 55%, 23%)
HSVhsv(55, 71%, 35%)
CMYKcmyk(0%, 5.6%, 71.1%, 64.7%)
CIE-LABlab(35.49, -6.04, 33.79)
CIE-LCHlch(35.49, 34.33, 100.14°)
OKLaboklab(44.18% -0.0196 0.0762)
OKLCHoklch(44.18% 0.079 104.5)
XYZxyz(7.6517, 8.7455, 2.2621)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A551A #1A1F5A
analogous
#5A351A #5A551A #3F5A1A
triadic
#5A551A #1A5A55 #551A5A
tetradic
#5A551A #1A5A35 #1A1F5A #5A1A3F
square
#5A551A #1A5A35 #1A1F5A #5A1A3F
split-complementary
#5A551A #1A3F5A #351A5A
monochromatic
#181607 #2B280C #5A551A #898228 #B9AF35

Accessibility & contrast

On white

7.64
#5A551A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5A551A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A551A
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A551A#FFFFFF#000000##FFFFFF
##5A551A1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5212
Deuteranopia (green-blind)
#5F551E
Tritanopia (blue-blind)
#614F49
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5a551a;
/* rgb */ color: rgb(90, 85, 26);
/* oklch */ color: oklch(44.2% 0.079 104.5);
Tailwind
colors: {
  custom: {
    50: '#8b845a',
    500: '#5a551a',
    950: '#000000',
  },
}
SCSS
$custom: #5a551a;
$custom-light: #8b845a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a551a",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 26
  },
  "hsl": {
    "h": 55.313,
    "s": 55.172,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4418,
    "c": 0.07867,
    "h": 104.5
  },
  "luminance": 0.08745
}

Semantic roles & 50–950 ramp

primary
#5A551A
secondary
#404690
accent
#55DF49
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5A551A

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

Preview Lab → · Contrast checker → · Palette generator →

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