#56502A#56502A

#56502A is a dark, muted yellow. Relative luminance 0.079; OKLCH L 42.8% C 0.056 H 100.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#56502A
RGBrgb(86, 80, 42)
HSLhsl(52, 34%, 25%)
HSVhsv(52, 51%, 34%)
CMYKcmyk(0%, 7%, 51.2%, 66.3%)
CIE-LABlab(33.74, -3.57, 23.17)
CIE-LCHlch(33.74, 23.45, 98.76°)
OKLaboklab(42.76% -0.0103 0.0555)
OKLCHoklch(42.76% 0.056 100.5)
XYZxyz(7.1245, 7.8832, 3.3363)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56502A #2A3056
analogous
#563A2A #56502A #46562A
triadic
#56502A #2A5650 #502A56
tetradic
#56502A #2A563A #2A3056 #562A46
square
#56502A #2A563A #2A3056 #562A46
split-complementary
#56502A #2A4656 #3A2A56
monochromatic
#15130A #2D2A16 #56502A #7F763E #A89C52

Accessibility & contrast

On white

8.15
#56502A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#56502A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56502A
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56502A#FFFFFF#000000##FFFFFF
##56502A1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E27
Deuteranopia (green-blind)
#58502C
Tritanopia (blue-blind)
#5C4B47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #56502a;
/* rgb */ color: rgb(86, 80, 42);
/* oklch */ color: oklch(42.8% 0.056 100.5);
Tailwind
colors: {
  custom: {
    50: '#878064',
    500: '#56502a',
    950: '#000000',
  },
}
SCSS
$custom: #56502a;
$custom-light: #878064;
$custom-dark: #000000;
JSON
{
  "hex": "#56502a",
  "rgb": {
    "r": 86,
    "g": 80,
    "b": 42
  },
  "hsl": {
    "h": 51.818,
    "s": 34.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.42755,
    "c": 0.05647,
    "h": 100.5
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#56502A
secondary
#535B88
accent
#6CCA5D
background
#F8F7F6
surface
#EFEEEB
border
#CAC9C6
text
#0B0A05
muted
#7C7C7A

Preview Lab

Preview with #56502A

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

Preview Lab → · Contrast checker → · Palette generator →

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