#56521A#56521A

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

Color values

HEX#56521A
RGBrgb(86, 82, 26)
HSLhsl(56, 54%, 22%)
HSVhsv(56, 70%, 34%)
CMYKcmyk(0%, 4.7%, 69.8%, 66.3%)
CIE-LABlab(34.17, -6.23, 32.29)
CIE-LCHlch(34.17, 32.89, 100.92°)
OKLaboklab(43.03% -0.0199 0.0731)
OKLCHoklch(43.03% 0.076 105.2)
XYZxyz(7.0418, 8.0879, 2.1673)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56521A #1A1E56
analogous
#56341A #56521A #3C561A
triadic
#56521A #1A5652 #521A56
tetradic
#56521A #1A5634 #1A1E56 #561A3C
square
#56521A #1A5634 #1A1E56 #561A3C
split-complementary
#56521A #1A3C56 #341A56
monochromatic
#171607 #27250C #56521A #857F28 #B4AC36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56521A#FFFFFF#000000##FFFFFF
##56521A1.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)
#594F13
Deuteranopia (green-blind)
#5B511D
Tritanopia (blue-blind)
#5D4C46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #56521a;
/* rgb */ color: rgb(86, 82, 26);
/* oklch */ color: oklch(43.0% 0.076 105.2);
Tailwind
colors: {
  custom: {
    50: '#88825a',
    500: '#56521a',
    950: '#000000',
  },
}
SCSS
$custom: #56521a;
$custom-light: #88825a;
$custom-dark: #000000;
JSON
{
  "hex": "#56521a",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 26
  },
  "hsl": {
    "h": 56,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43031,
    "c": 0.07579,
    "h": 105.2
  },
  "luminance": 0.08088
}

Semantic roles & 50–950 ramp

primary
#56521A
secondary
#40458C
accent
#55DD4B
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #56521A

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

Preview Lab → · Contrast checker → · Palette generator →

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