#56501B#56501B

#56501B is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.5% C 0.073 H 102.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#56501B
RGBrgb(86, 80, 27)
HSLhsl(54, 52%, 22%)
HSVhsv(54, 69%, 34%)
CMYKcmyk(0%, 7%, 68.6%, 66.3%)
CIE-LABlab(33.55, -4.96, 31.15)
CIE-LCHlch(33.55, 31.54, 99.05°)
OKLaboklab(42.55% -0.0162 0.0709)
OKLCHoklch(42.55% 0.073 102.9)
XYZxyz(6.9045, 7.7952, 2.1776)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56501B #1B2156
analogous
#56331B #56501B #3F561B
triadic
#56501B #1B5650 #501B56
tetradic
#56501B #1B5633 #1B2156 #561B3F
square
#56501B #1B5633 #1B2156 #561B3F
split-complementary
#56501B #1B3F56 #331B56
monochromatic
#171607 #27250C #56501B #857B2A #B3A738

Accessibility & contrast

On white

8.21
#56501B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56501B
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56501B#FFFFFF#000000##FFFFFF
##56501B1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D15
Deuteranopia (green-blind)
#59501E
Tritanopia (blue-blind)
#5D4A45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #56501b;
/* rgb */ color: rgb(86, 80, 27);
/* oklch */ color: oklch(42.5% 0.073 102.9);
Tailwind
colors: {
  custom: {
    50: '#88805a',
    500: '#56501b',
    950: '#000000',
  },
}
SCSS
$custom: #56501b;
$custom-light: #88805a;
$custom-dark: #000000;
JSON
{
  "hex": "#56501b",
  "rgb": {
    "r": 86,
    "g": 80,
    "b": 27
  },
  "hsl": {
    "h": 53.898,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42547,
    "c": 0.07271,
    "h": 102.9
  },
  "luminance": 0.07795
}

Semantic roles & 50–950 ramp

primary
#56501B
secondary
#41498C
accent
#5BDC4C
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #56501B

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

Preview Lab → · Contrast checker → · Palette generator →

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