#5D561F#5D561F

#5D561F is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.8% C 0.075 H 102.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#5D561F
RGBrgb(93, 86, 31)
HSLhsl(53, 50%, 24%)
HSVhsv(53, 67%, 36%)
CMYKcmyk(0%, 7.5%, 66.7%, 63.5%)
CIE-LABlab(36.14, -4.81, 32.14)
CIE-LCHlch(36.14, 32.50, 98.51°)
OKLaboklab(44.79% -0.0157 0.0734)
OKLCHoklch(44.79% 0.075 102.1)
XYZxyz(8.0896, 9.0820, 2.6229)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D561F #1F265D
analogous
#5D371F #5D561F #455D1F
triadic
#5D561F #1F5D56 #561F5D
tetradic
#5D561F #1F5D37 #1F265D #5D1F45
square
#5D561F #1F5D37 #1F265D #5D1F45
split-complementary
#5D561F #1F455D #371F5D
monochromatic
#171508 #2F2C10 #5D561F #8B802E #B9AB3E

Accessibility & contrast

On white

7.46
#5D561F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5D561F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D561F
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D561F#FFFFFF#000000##FFFFFF
##5D561F1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5319
Deuteranopia (green-blind)
#605622
Tritanopia (blue-blind)
#64504A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d561f;
/* rgb */ color: rgb(93, 86, 31);
/* oklch */ color: oklch(44.8% 0.075 102.1);
Tailwind
colors: {
  custom: {
    50: '#8d855d',
    500: '#5d561f',
    950: '#000000',
  },
}
SCSS
$custom: #5d561f;
$custom-light: #8d855d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d561f",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 31
  },
  "hsl": {
    "h": 53.226,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44785,
    "c": 0.0751,
    "h": 102.1
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#5D561F
secondary
#464F92
accent
#5EDA4E
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5D561F

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

Preview Lab → · Contrast checker → · Palette generator →

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