#5B561E#5B561E

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

Color values

HEX#5B561E
RGBrgb(91, 86, 30)
HSLhsl(55, 50%, 24%)
HSVhsv(55, 67%, 36%)
CMYKcmyk(0%, 5.5%, 67%, 64.3%)
CIE-LABlab(35.93, -5.86, 32.36)
CIE-LCHlch(35.93, 32.88, 100.27°)
OKLaboklab(44.57% -0.0187 0.0738)
OKLCHoklch(44.57% 0.076 104.2)
XYZxyz(7.8768, 8.9737, 2.5452)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B561E #1E235B
analogous
#5B371E #5B561E #415B1E
triadic
#5B561E #1E5B56 #561E5B
tetradic
#5B561E #1E5B37 #1E235B #5B1E41
square
#5B561E #1E5B37 #1E235B #5B1E41
split-complementary
#5B561E #1E415B #371E5B
monochromatic
#171608 #2D2B0F #5B561E #89812D #B7AD3C

Accessibility & contrast

On white

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

On black

2.79
#5B561E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5B561E#FFFFFF#000000##FFFFFF
##5B561E1.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5317
Deuteranopia (green-blind)
#5F5621
Tritanopia (blue-blind)
#62504A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5b561e;
/* rgb */ color: rgb(91, 86, 30);
/* oklch */ color: oklch(44.6% 0.076 104.2);
Tailwind
colors: {
  custom: {
    50: '#8b855d',
    500: '#5b561e',
    950: '#000000',
  },
}
SCSS
$custom: #5b561e;
$custom-light: #8b855d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b561e",
  "rgb": {
    "r": 91,
    "g": 86,
    "b": 30
  },
  "hsl": {
    "h": 55.082,
    "s": 50.413,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44569,
    "c": 0.07613,
    "h": 104.2
  },
  "luminance": 0.08973
}

Semantic roles & 50–950 ramp

primary
#5B561E
secondary
#454B90
accent
#59DA4E
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5B561E

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

Preview Lab → · Contrast checker → · Palette generator →

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