#56501C#56501C

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

Color values

HEX#56501C
RGBrgb(86, 80, 28)
HSLhsl(54, 51%, 22%)
HSVhsv(54, 67%, 34%)
CMYKcmyk(0%, 7%, 67.4%, 66.3%)
CIE-LABlab(33.56, -4.89, 30.65)
CIE-LCHlch(33.56, 31.04, 99.06°)
OKLaboklab(42.56% -0.0158 0.07)
OKLCHoklch(42.56% 0.072 102.7)
XYZxyz(6.9163, 7.7999, 2.2396)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56501C #1C2256
analogous
#56331C #56501C #3F561C
triadic
#56501C #1C5650 #501C56
tetradic
#56501C #1C5633 #1C2256 #561C3F
square
#56501C #1C5633 #1C2256 #561C3F
split-complementary
#56501C #1C3F56 #331C56
monochromatic
#171508 #28250D #56501C #847B2B #B2A63A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56501C#FFFFFF#000000##FFFFFF
##56501C1.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)
#574D16
Deuteranopia (green-blind)
#59501F
Tritanopia (blue-blind)
#5D4A45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #56501c;
/* rgb */ color: rgb(86, 80, 28);
/* oklch */ color: oklch(42.6% 0.072 102.7);
Tailwind
colors: {
  custom: {
    50: '#88805b',
    500: '#56501c',
    950: '#000000',
  },
}
SCSS
$custom: #56501c;
$custom-light: #88805b;
$custom-dark: #000000;
JSON
{
  "hex": "#56501c",
  "rgb": {
    "r": 86,
    "g": 80,
    "b": 28
  },
  "hsl": {
    "h": 53.793,
    "s": 50.877,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42559,
    "c": 0.07178,
    "h": 102.7
  },
  "luminance": 0.078
}

Semantic roles & 50–950 ramp

primary
#56501C
secondary
#424A8C
accent
#5CDA4D
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #56501C

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

Preview Lab → · Contrast checker → · Palette generator →

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