#56541A#56541A

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

Color values

HEX#56541A
RGBrgb(86, 84, 26)
HSLhsl(58, 54%, 22%)
HSVhsv(58, 70%, 34%)
CMYKcmyk(0%, 2.3%, 69.8%, 66.3%)
CIE-LABlab(34.79, -7.41, 32.95)
CIE-LCHlch(34.79, 33.77, 102.68°)
OKLaboklab(43.53% -0.0233 0.0745)
OKLCHoklch(43.53% 0.078 107.3)
XYZxyz(7.1948, 8.3939, 2.2183)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56541A #1A1C56
analogous
#56361A #56541A #3A561A
triadic
#56541A #1A5654 #541A56
tetradic
#56541A #1A5636 #1A1C56 #561A3A
square
#56541A #1A5636 #1A1C56 #561A3A
split-complementary
#56541A #1A3A56 #361A56
monochromatic
#171707 #27260C #56541A #858228 #B4B036

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56541A#FFFFFF#000000##FFFFFF
##56541A1.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)
#5B5112
Deuteranopia (green-blind)
#5C531E
Tritanopia (blue-blind)
#5C4E48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #56541a;
/* rgb */ color: rgb(86, 84, 26);
/* oklch */ color: oklch(43.5% 0.078 107.3);
Tailwind
colors: {
  custom: {
    50: '#88835a',
    500: '#56541a',
    950: '#000000',
  },
}
SCSS
$custom: #56541a;
$custom-light: #88835a;
$custom-dark: #000000;
JSON
{
  "hex": "#56541a",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 26
  },
  "hsl": {
    "h": 58,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43529,
    "c": 0.07806,
    "h": 107.3
  },
  "luminance": 0.08394
}

Semantic roles & 50–950 ramp

primary
#56541A
secondary
#40428C
accent
#50DD4B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #56541A

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

Preview Lab → · Contrast checker → · Palette generator →

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