#56541B#56541B

#56541B is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.5% C 0.077 H 107.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#56541B
RGBrgb(86, 84, 27)
HSLhsl(58, 52%, 22%)
HSVhsv(58, 69%, 34%)
CMYKcmyk(0%, 2.3%, 68.6%, 66.3%)
CIE-LABlab(34.80, -7.34, 32.47)
CIE-LCHlch(34.80, 33.29, 102.74°)
OKLaboklab(43.54% -0.0229 0.0737)
OKLCHoklch(43.54% 0.077 107.3)
XYZxyz(7.2061, 8.3984, 2.2782)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56541B #1B1D56
analogous
#56371B #56541B #3B561B
triadic
#56541B #1B5654 #541B56
tetradic
#56541B #1B5637 #1B1D56 #561B3B
square
#56541B #1B5637 #1B1D56 #561B3B
split-complementary
#56541B #1B3B56 #371B56
monochromatic
#171707 #27270C #56541B #85812A #B3AF38

Accessibility & contrast

On white

7.84
#56541B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#56541B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56541B
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56541B#FFFFFF#000000##FFFFFF
##56541B1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5114
Deuteranopia (green-blind)
#5C531E
Tritanopia (blue-blind)
#5C4E48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #56541b;
/* rgb */ color: rgb(86, 84, 27);
/* oklch */ color: oklch(43.5% 0.077 107.3);
Tailwind
colors: {
  custom: {
    50: '#88835b',
    500: '#56541b',
    950: '#000000',
  },
}
SCSS
$custom: #56541b;
$custom-light: #88835b;
$custom-dark: #000000;
JSON
{
  "hex": "#56541b",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 57.966,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43539,
    "c": 0.07718,
    "h": 107.3
  },
  "luminance": 0.08398
}

Semantic roles & 50–950 ramp

primary
#56541B
secondary
#41448C
accent
#51DC4C
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #56541B

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

Preview Lab → · Contrast checker → · Palette generator →

#56541B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva