#56501D#56501D

#56501D is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.6% C 0.071 H 102.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#56501D
RGBrgb(86, 80, 29)
HSLhsl(54, 50%, 23%)
HSVhsv(54, 66%, 34%)
CMYKcmyk(0%, 7%, 66.3%, 66.3%)
CIE-LABlab(33.57, -4.81, 30.15)
CIE-LCHlch(33.57, 30.54, 99.06°)
OKLaboklab(42.57% -0.0155 0.0691)
OKLCHoklch(42.57% 0.071 102.6)
XYZxyz(6.9284, 7.8047, 2.3037)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56501D #1D2356
analogous
#56331D #56501D #40561D
triadic
#56501D #1D5650 #501D56
tetradic
#56501D #1D5633 #1D2356 #561D40
square
#56501D #1D5633 #1D2356 #561D40
split-complementary
#56501D #1D4056 #331D56
monochromatic
#171508 #28250E #56501D #847B2C #B2A53C

Accessibility & contrast

On white

8.20
#56501D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#56501D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56501D
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56501D#FFFFFF#000000##FFFFFF
##56501D1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D17
Deuteranopia (green-blind)
#595020
Tritanopia (blue-blind)
#5D4A45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #56501d;
/* rgb */ color: rgb(86, 80, 29);
/* oklch */ color: oklch(42.6% 0.071 102.6);
Tailwind
colors: {
  custom: {
    50: '#88805b',
    500: '#56501d',
    950: '#000000',
  },
}
SCSS
$custom: #56501d;
$custom-light: #88805b;
$custom-dark: #000000;
JSON
{
  "hex": "#56501d",
  "rgb": {
    "r": 86,
    "g": 80,
    "b": 29
  },
  "hsl": {
    "h": 53.684,
    "s": 49.565,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4257,
    "c": 0.07082,
    "h": 102.6
  },
  "luminance": 0.07804
}

Semantic roles & 50–950 ramp

primary
#56501D
secondary
#444B8B
accent
#5DD94F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #56501D

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

Preview Lab → · Contrast checker → · Palette generator →

#56501D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva