#56540B#56540B

#56540B is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.4% C 0.088 H 107.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#56540B
RGBrgb(86, 84, 11)
HSLhsl(58, 77%, 19%)
HSVhsv(58, 87%, 34%)
CMYKcmyk(0%, 2.3%, 87.2%, 66.3%)
CIE-LABlab(34.69, -8.22, 38.87)
CIE-LCHlch(34.69, 39.73, 101.93°)
OKLaboklab(43.42% -0.0271 0.084)
OKLCHoklch(43.42% 0.088 107.9)
XYZxyz(7.0688, 8.3435, 1.5546)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56540B #0B0D56
analogous
#562F0B #56540B #33560B
triadic
#56540B #0B5654 #540B56
tetradic
#56540B #0B562F #0B0D56 #560B33
square
#56540B #0B562F #0B0D56 #560B33
split-complementary
#56540B #0B3356 #2F0B56
monochromatic
#1B1A03 #201F04 #56540B #8C8912 #C3BE19

Accessibility & contrast

On white

7.87
#56540B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#56540B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56540B
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56540B#FFFFFF#000000##FFFFFF
##56540B1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5000
Deuteranopia (green-blind)
#5D5312
Tritanopia (blue-blind)
#5D4E47
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #56540b;
/* rgb */ color: rgb(86, 84, 11);
/* oklch */ color: oklch(43.4% 0.088 107.9);
Tailwind
colors: {
  custom: {
    50: '#898352',
    500: '#56540b',
    950: '#000000',
  },
}
SCSS
$custom: #56540b;
$custom-light: #898352;
$custom-dark: #000000;
JSON
{
  "hex": "#56540b",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 11
  },
  "hsl": {
    "h": 58.4,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.43415,
    "c": 0.08831,
    "h": 107.9
  },
  "luminance": 0.08343
}

Semantic roles & 50–950 ramp

primary
#56540B
secondary
#2B2E91
accent
#39F434
background
#F8F8F4
surface
#F0EFE7
border
#CBCAC3
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #56540B

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

Preview Lab → · Contrast checker → · Palette generator →

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