#5D561B#5D561B

#5D561B is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.7% C 0.079 H 102.5°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#5D561B
RGBrgb(93, 86, 27)
HSLhsl(54, 55%, 24%)
HSVhsv(54, 71%, 36%)
CMYKcmyk(0%, 7.5%, 71%, 63.5%)
CIE-LABlab(36.10, -5.10, 34.05)
CIE-LCHlch(36.10, 34.43, 98.51°)
OKLaboklab(44.74% -0.017 0.0768)
OKLCHoklch(44.74% 0.079 102.5)
XYZxyz(8.0401, 9.0622, 2.3624)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D561B #1B225D
analogous
#5D351B #5D561B #435D1B
triadic
#5D561B #1B5D56 #561B5D
tetradic
#5D561B #1B5D35 #1B225D #5D1B43
square
#5D561B #1B5D35 #1B225D #5D1B43
split-complementary
#5D561B #1B435D #351B5D
monochromatic
#181607 #2E2A0D #5D561B #8C8229 #BCAE37

Accessibility & contrast

On white

7.47
#5D561B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5D561B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D561B
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D561B#FFFFFF#000000##FFFFFF
##5D561B1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5313
Deuteranopia (green-blind)
#60561E
Tritanopia (blue-blind)
#64504A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d561b;
/* rgb */ color: rgb(93, 86, 27);
/* oklch */ color: oklch(44.7% 0.079 102.5);
Tailwind
colors: {
  custom: {
    50: '#8d855b',
    500: '#5d561b',
    950: '#000000',
  },
}
SCSS
$custom: #5d561b;
$custom-light: #8d855b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d561b",
  "rgb": {
    "r": 93,
    "g": 86,
    "b": 27
  },
  "hsl": {
    "h": 53.636,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44742,
    "c": 0.07867,
    "h": 102.5
  },
  "luminance": 0.09062
}

Semantic roles & 50–950 ramp

primary
#5D561B
secondary
#414A93
accent
#59DE49
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5D561B

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

Preview Lab → · Contrast checker → · Palette generator →

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