#5D551F#5D551F

#5D551F is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.5% C 0.074 H 100.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5D551F
RGBrgb(93, 85, 31)
HSLhsl(52, 50%, 24%)
HSVhsv(52, 67%, 36%)
CMYKcmyk(0%, 8.6%, 66.7%, 63.5%)
CIE-LABlab(35.84, -4.22, 31.81)
CIE-LCHlch(35.84, 32.08, 97.55°)
OKLaboklab(44.54% -0.014 0.0727)
OKLCHoklch(44.54% 0.074 100.9)
XYZxyz(8.0103, 8.9234, 2.5965)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D551F #1F275D
analogous
#5D361F #5D551F #465D1F
triadic
#5D551F #1F5D55 #551F5D
tetradic
#5D551F #1F5D36 #1F275D #5D1F46
square
#5D551F #1F5D36 #1F275D #5D1F46
split-complementary
#5D551F #1F465D #361F5D
monochromatic
#171508 #2F2B10 #5D551F #8B7F2E #B9A93E

Accessibility & contrast

On white

7.54
#5D551F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D551F
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D551F#FFFFFF#000000##FFFFFF
##5D551F1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5219
Deuteranopia (green-blind)
#5F5622
Tritanopia (blue-blind)
#644F49
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d551f;
/* rgb */ color: rgb(93, 85, 31);
/* oklch */ color: oklch(44.5% 0.074 100.9);
Tailwind
colors: {
  custom: {
    50: '#8d845d',
    500: '#5d551f',
    950: '#000000',
  },
}
SCSS
$custom: #5d551f;
$custom-light: #8d845d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d551f",
  "rgb": {
    "r": 93,
    "g": 85,
    "b": 31
  },
  "hsl": {
    "h": 52.258,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44542,
    "c": 0.07408,
    "h": 100.9
  },
  "luminance": 0.08923
}

Semantic roles & 50–950 ramp

primary
#5D551F
secondary
#465092
accent
#60DA4E
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5D551F

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

Preview Lab → · Contrast checker → · Palette generator →

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