#5B551A#5B551A

#5B551A is a dark, moderate yellow. Relative luminance 0.088; OKLCH L 44.3% C 0.079 H 103.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#5B551A
RGBrgb(91, 85, 26)
HSLhsl(54, 56%, 23%)
HSVhsv(54, 71%, 36%)
CMYKcmyk(0%, 6.6%, 71.4%, 64.3%)
CIE-LABlab(35.59, -5.55, 33.93)
CIE-LCHlch(35.59, 34.38, 99.29°)
OKLaboklab(44.28% -0.0183 0.0764)
OKLCHoklch(44.28% 0.079 103.5)
XYZxyz(7.7496, 8.7960, 2.2667)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B551A #1A205B
analogous
#5B351A #5B551A #405B1A
triadic
#5B551A #1A5B55 #551A5B
tetradic
#5B551A #1A5B35 #1A205B #5B1A40
square
#5B551A #1A5B35 #1A205B #5B1A40
split-complementary
#5B551A #1A405B #351A5B
monochromatic
#181607 #2B290C #5B551A #8B8128 #BAAE35

Accessibility & contrast

On white

7.61
#5B551A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5B551A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B551A
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B551A#FFFFFF#000000##FFFFFF
##5B551A1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b551a;
/* rgb */ color: rgb(91, 85, 26);
/* oklch */ color: oklch(44.3% 0.079 103.5);
Tailwind
colors: {
  custom: {
    50: '#8c845a',
    500: '#5b551a',
    950: '#000000',
  },
}
SCSS
$custom: #5b551a;
$custom-light: #8c845a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b551a",
  "rgb": {
    "r": 91,
    "g": 85,
    "b": 26
  },
  "hsl": {
    "h": 54.462,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44282,
    "c": 0.07859,
    "h": 103.5
  },
  "luminance": 0.08796
}

Semantic roles & 50–950 ramp

primary
#5B551A
secondary
#404791
accent
#57DF49
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5B551A

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

Preview Lab → · Contrast checker → · Palette generator →

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