#56520F#56520F

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

Color values

HEX#56520F
RGBrgb(86, 82, 15)
HSLhsl(57, 70%, 20%)
HSVhsv(57, 83%, 34%)
CMYKcmyk(0%, 4.7%, 82.6%, 66.3%)
CIE-LABlab(34.08, -6.87, 36.96)
CIE-LCHlch(34.08, 37.59, 100.53°)
OKLaboklab(42.94% -0.023 0.0808)
OKLCHoklch(42.94% 0.084 105.9)
XYZxyz(6.9416, 8.0478, 1.6396)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56520F #0F1356
analogous
#562F0F #56520F #36560F
triadic
#56520F #0F5652 #520F56
tetradic
#56520F #0F562F #0F1356 #560F36
square
#56520F #0F562F #0F1356 #560F36
split-complementary
#56520F #0F3656 #2F0F56
monochromatic
#1A1905 #222006 #56520F #8A8418 #BEB521

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56520F#FFFFFF#000000##FFFFFF
##56520F1.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)
#5A4F02
Deuteranopia (green-blind)
#5B5114
Tritanopia (blue-blind)
#5D4C45
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #56520f;
/* rgb */ color: rgb(86, 82, 15);
/* oklch */ color: oklch(42.9% 0.084 105.9);
Tailwind
colors: {
  custom: {
    50: '#888254',
    500: '#56520f',
    950: '#000000',
  },
}
SCSS
$custom: #56520f;
$custom-light: #888254;
$custom-dark: #000000;
JSON
{
  "hex": "#56520f",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 56.62,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42939,
    "c": 0.08401,
    "h": 105.9
  },
  "luminance": 0.08048
}

Semantic roles & 50–950 ramp

primary
#56520F
secondary
#313690
accent
#45ED3B
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #56520F

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

Preview Lab → · Contrast checker → · Palette generator →

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