#56501A#56501A

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

Color values

HEX#56501A
RGBrgb(86, 80, 26)
HSLhsl(54, 54%, 22%)
HSVhsv(54, 70%, 34%)
CMYKcmyk(0%, 7%, 69.8%, 66.3%)
CIE-LABlab(33.54, -5.04, 31.63)
CIE-LCHlch(33.54, 32.03, 99.05°)
OKLaboklab(42.54% -0.0165 0.0717)
OKLCHoklch(42.54% 0.074 103)
XYZxyz(6.8931, 7.7906, 2.1177)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56501A #1A2056
analogous
#56321A #56501A #3E561A
triadic
#56501A #1A5650 #501A56
tetradic
#56501A #1A5632 #1A2056 #561A3E
square
#56501A #1A5632 #1A2056 #561A3E
split-complementary
#56501A #1A3E56 #321A56
monochromatic
#171607 #27240C #56501A #857C28 #B4A736

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56501A#FFFFFF#000000##FFFFFF
##56501A1.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)
#584D13
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#5D4A45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #56501a;
/* rgb */ color: rgb(86, 80, 26);
/* oklch */ color: oklch(42.5% 0.074 103.0);
Tailwind
colors: {
  custom: {
    50: '#88805a',
    500: '#56501a',
    950: '#000000',
  },
}
SCSS
$custom: #56501a;
$custom-light: #88805a;
$custom-dark: #000000;
JSON
{
  "hex": "#56501a",
  "rgb": {
    "r": 86,
    "g": 80,
    "b": 26
  },
  "hsl": {
    "h": 54,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42537,
    "c": 0.07362,
    "h": 103
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#56501A
secondary
#40478C
accent
#59DD4B
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #56501A

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

Preview Lab → · Contrast checker → · Palette generator →

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