#564A0D#564A0D

#564A0D is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 41.0% C 0.078 H 97.3°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#564A0D
RGBrgb(86, 74, 13)
HSLhsl(50, 74%, 19%)
HSVhsv(50, 85%, 34%)
CMYKcmyk(0%, 14%, 84.9%, 66.3%)
CIE-LABlab(31.59, -2.15, 35.44)
CIE-LCHlch(31.59, 35.50, 93.47°)
OKLaboklab(40.96% -0.0099 0.0771)
OKLCHoklch(40.96% 0.078 97.3)
XYZxyz(6.3595, 6.9054, 1.3786)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564A0D #0D1956
analogous
#56260D #564A0D #3E560D
triadic
#564A0D #0D564A #4A0D56
tetradic
#564A0D #0D5626 #0D1956 #560D3E
square
#564A0D #0D5626 #0D1956 #560D3E
split-complementary
#564A0D #0D3E56 #260D56
monochromatic
#1B1704 #211C05 #564A0D #8B7815 #C0A51D

Accessibility & contrast

On white

8.82
#564A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#564A0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564A0D
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564A0D#FFFFFF#000000##FFFFFF
##564A0D1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524802
Deuteranopia (green-blind)
#564C11
Tritanopia (blue-blind)
#5E443F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #564a0d;
/* rgb */ color: rgb(86, 74, 13);
/* oklch */ color: oklch(41.0% 0.078 97.3);
Tailwind
colors: {
  custom: {
    50: '#897c52',
    500: '#564a0d',
    950: '#000000',
  },
}
SCSS
$custom: #564a0d;
$custom-light: #897c52;
$custom-dark: #000000;
JSON
{
  "hex": "#564a0d",
  "rgb": {
    "r": 86,
    "g": 74,
    "b": 13
  },
  "hsl": {
    "h": 50.137,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40956,
    "c": 0.07772,
    "h": 97.3
  },
  "luminance": 0.06905
}

Semantic roles & 50–950 ramp

primary
#564A0D
secondary
#2E3E91
accent
#56F037
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0C0902
muted
#7D7B78

Preview Lab

Preview with #564A0D

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

Preview Lab → · Contrast checker → · Palette generator →

#564A0D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva