#5B561F#5B561F

#5B561F is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.6% C 0.075 H 104.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#5B561F
RGBrgb(91, 86, 31)
HSLhsl(55, 49%, 24%)
HSVhsv(55, 66%, 36%)
CMYKcmyk(0%, 5.5%, 65.9%, 64.3%)
CIE-LABlab(35.94, -5.78, 31.86)
CIE-LCHlch(35.94, 32.39, 100.29°)
OKLaboklab(44.58% -0.0184 0.0729)
OKLCHoklch(44.58% 0.075 104.1)
XYZxyz(7.8898, 8.9789, 2.6136)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B561F #1F245B
analogous
#5B381F #5B561F #425B1F
triadic
#5B561F #1F5B56 #561F5B
tetradic
#5B561F #1F5B38 #1F245B #5B1F42
square
#5B561F #1F5B38 #1F245B #5B1F42
split-complementary
#5B561F #1F425B #381F5B
monochromatic
#171608 #2D2B0F #5B561F #89812F #B6AC3E

Accessibility & contrast

On white

7.51
#5B561F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5B561F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B561F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B561F#FFFFFF#000000##FFFFFF
##5B561F1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b561f;
/* rgb */ color: rgb(91, 86, 31);
/* oklch */ color: oklch(44.6% 0.075 104.1);
Tailwind
colors: {
  custom: {
    50: '#8b855d',
    500: '#5b561f',
    950: '#000000',
  },
}
SCSS
$custom: #5b561f;
$custom-light: #8b855d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b561f",
  "rgb": {
    "r": 91,
    "g": 86,
    "b": 31
  },
  "hsl": {
    "h": 55,
    "s": 49.18,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4458,
    "c": 0.07519,
    "h": 104.1
  },
  "luminance": 0.08979
}

Semantic roles & 50–950 ramp

primary
#5B561F
secondary
#464C90
accent
#5BD94F
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5B561F

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

Preview Lab → · Contrast checker → · Palette generator →

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