#5B551E#5B551E

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

Color values

HEX#5B551E
RGBrgb(91, 85, 30)
HSLhsl(54, 50%, 24%)
HSVhsv(54, 67%, 36%)
CMYKcmyk(0%, 6.6%, 67%, 64.3%)
CIE-LABlab(35.63, -5.27, 32.02)
CIE-LCHlch(35.63, 32.45, 99.34°)
OKLaboklab(44.32% -0.017 0.0731)
OKLCHoklch(44.32% 0.075 103.1)
XYZxyz(7.7975, 8.8152, 2.5188)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B551E #1E245B
analogous
#5B361E #5B551E #425B1E
triadic
#5B551E #1E5B55 #551E5B
tetradic
#5B551E #1E5B36 #1E245B #5B1E42
square
#5B551E #1E5B36 #1E245B #5B1E42
split-complementary
#5B551E #1E425B #361E5B
monochromatic
#171508 #2D2A0F #5B551E #89802D #B7AB3C

Accessibility & contrast

On white

7.60
#5B551E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B551E
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B551E#FFFFFF#000000##FFFFFF
##5B551E1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b551e;
/* rgb */ color: rgb(91, 85, 30);
/* oklch */ color: oklch(44.3% 0.075 103.1);
Tailwind
colors: {
  custom: {
    50: '#8b845d',
    500: '#5b551e',
    950: '#000000',
  },
}
SCSS
$custom: #5b551e;
$custom-light: #8b845d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b551e",
  "rgb": {
    "r": 91,
    "g": 85,
    "b": 30
  },
  "hsl": {
    "h": 54.098,
    "s": 50.413,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44324,
    "c": 0.07504,
    "h": 103.1
  },
  "luminance": 0.08815
}

Semantic roles & 50–950 ramp

primary
#5B551E
secondary
#454C90
accent
#5CDA4E
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5B551E

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

Preview Lab → · Contrast checker → · Palette generator →

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