#56511D#56511D

#56511D is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.8% C 0.072 H 103.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#56511D
RGBrgb(86, 81, 29)
HSLhsl(55, 50%, 23%)
HSVhsv(55, 66%, 34%)
CMYKcmyk(0%, 5.8%, 66.3%, 66.3%)
CIE-LABlab(33.88, -5.41, 30.49)
CIE-LCHlch(33.88, 30.97, 100.06°)
OKLaboklab(42.82% -0.0172 0.0698)
OKLCHoklch(42.82% 0.072 103.8)
XYZxyz(7.0022, 7.9523, 2.3283)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56511D #1D2256
analogous
#56351D #56511D #3E561D
triadic
#56511D #1D5651 #511D56
tetradic
#56511D #1D5635 #1D2256 #561D3E
square
#56511D #1D5635 #1D2256 #561D3E
split-complementary
#56511D #1D3E56 #351D56
monochromatic
#171608 #28260E #56511D #847C2C #B2A73C

Accessibility & contrast

On white

8.11
#56511D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#56511D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56511D
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56511D#FFFFFF#000000##FFFFFF
##56511D1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E17
Deuteranopia (green-blind)
#5A5120
Tritanopia (blue-blind)
#5D4B46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #56511d;
/* rgb */ color: rgb(86, 81, 29);
/* oklch */ color: oklch(42.8% 0.072 103.8);
Tailwind
colors: {
  custom: {
    50: '#88815b',
    500: '#56511d',
    950: '#000000',
  },
}
SCSS
$custom: #56511d;
$custom-light: #88815b;
$custom-dark: #000000;
JSON
{
  "hex": "#56511d",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 29
  },
  "hsl": {
    "h": 54.737,
    "s": 49.565,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42817,
    "c": 0.07191,
    "h": 103.8
  },
  "luminance": 0.07952
}

Semantic roles & 50–950 ramp

primary
#56511D
secondary
#444A8B
accent
#5BD94F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #56511D

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

Preview Lab → · Contrast checker → · Palette generator →

#56511D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva