#56521B#56521B

#56521B is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.0% C 0.075 H 105.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#56521B
RGBrgb(86, 82, 27)
HSLhsl(56, 52%, 22%)
HSVhsv(56, 69%, 34%)
CMYKcmyk(0%, 4.7%, 68.6%, 66.3%)
CIE-LABlab(34.17, -6.16, 31.81)
CIE-LCHlch(34.17, 32.40, 100.96°)
OKLaboklab(43.04% -0.0196 0.0723)
OKLCHoklch(43.04% 0.075 105.2)
XYZxyz(7.0531, 8.0924, 2.2272)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56521B #1B1F56
analogous
#56351B #56521B #3D561B
triadic
#56521B #1B5652 #521B56
tetradic
#56521B #1B5635 #1B1F56 #561B3D
square
#56521B #1B5635 #1B1F56 #561B3D
split-complementary
#56521B #1B3D56 #351B56
monochromatic
#171607 #27260C #56521B #857E2A #B3AB38

Accessibility & contrast

On white

8.02
#56521B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#56521B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56521B
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56521B#FFFFFF#000000##FFFFFF
##56521B1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F14
Deuteranopia (green-blind)
#5B521E
Tritanopia (blue-blind)
#5D4C46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #56521b;
/* rgb */ color: rgb(86, 82, 27);
/* oklch */ color: oklch(43.0% 0.075 105.2);
Tailwind
colors: {
  custom: {
    50: '#88825a',
    500: '#56521b',
    950: '#000000',
  },
}
SCSS
$custom: #56521b;
$custom-light: #88825a;
$custom-dark: #000000;
JSON
{
  "hex": "#56521b",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 27
  },
  "hsl": {
    "h": 55.932,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43042,
    "c": 0.07489,
    "h": 105.2
  },
  "luminance": 0.08092
}

Semantic roles & 50–950 ramp

primary
#56521B
secondary
#41468C
accent
#56DC4C
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #56521B

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

Preview Lab → · Contrast checker → · Palette generator →

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