#56520B#56520B

#56520B is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.9% C 0.086 H 106.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#56520B
RGBrgb(86, 82, 11)
HSLhsl(57, 77%, 19%)
HSVhsv(57, 87%, 34%)
CMYKcmyk(0%, 4.7%, 87.2%, 66.3%)
CIE-LABlab(34.06, -7.04, 38.33)
CIE-LCHlch(34.06, 38.97, 100.41°)
OKLaboklab(42.92% -0.0238 0.0829)
OKLCHoklch(42.92% 0.086 106.1)
XYZxyz(6.9158, 8.0374, 1.5036)
Luminance0.0804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56520B #0B0F56
analogous
#562D0B #56520B #35560B
triadic
#56520B #0B5652 #520B56
tetradic
#56520B #0B562D #0B0F56 #560B35
square
#56520B #0B562D #0B0F56 #560B35
split-complementary
#56520B #0B3556 #2D0B56
monochromatic
#1B1A03 #201E04 #56520B #8C8612 #C3B919

Accessibility & contrast

On white

8.05
#56520B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#56520B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56520B
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56520B#FFFFFF#000000##FFFFFF
##56520B1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F00
Deuteranopia (green-blind)
#5C5111
Tritanopia (blue-blind)
#5D4C45
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #56520b;
/* rgb */ color: rgb(86, 82, 11);
/* oklch */ color: oklch(42.9% 0.086 106.1);
Tailwind
colors: {
  custom: {
    50: '#898252',
    500: '#56520b',
    950: '#000000',
  },
}
SCSS
$custom: #56520b;
$custom-light: #898252;
$custom-dark: #000000;
JSON
{
  "hex": "#56520b",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 11
  },
  "hsl": {
    "h": 56.8,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.42915,
    "c": 0.08622,
    "h": 106.1
  },
  "luminance": 0.08037
}

Semantic roles & 50–950 ramp

primary
#56520B
secondary
#2B3191
accent
#3EF434
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0C0A02
muted
#7D7C78

Preview Lab

Preview with #56520B

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

Preview Lab → · Contrast checker → · Palette generator →

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