#564C0B#564C0B

#564C0B is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.4% C 0.081 H 99.9°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#564C0B
RGBrgb(86, 76, 11)
HSLhsl(52, 77%, 19%)
HSVhsv(52, 87%, 34%)
CMYKcmyk(0%, 11.6%, 87.2%, 66.3%)
CIE-LABlab(32.19, -3.45, 36.70)
CIE-LCHlch(32.19, 36.86, 95.37°)
OKLaboklab(41.43% -0.0138 0.0793)
OKLCHoklch(41.43% 0.081 99.9)
XYZxyz(6.4829, 7.1718, 1.3594)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564C0B #0B1556
analogous
#56270B #564C0B #3B560B
triadic
#564C0B #0B564C #4C0B56
tetradic
#564C0B #0B5627 #0B1556 #560B3B
square
#564C0B #0B5627 #0B1556 #560B3B
split-complementary
#564C0B #0B3B56 #270B56
monochromatic
#1B1803 #201C04 #564C0B #8C7C12 #C3AC19

Accessibility & contrast

On white

8.63
#564C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#564C0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564C0B
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564C0B#FFFFFF#000000##FFFFFF
##564C0B1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A00
Deuteranopia (green-blind)
#574D10
Tritanopia (blue-blind)
#5E4640
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #564c0b;
/* rgb */ color: rgb(86, 76, 11);
/* oklch */ color: oklch(41.4% 0.081 99.9);
Tailwind
colors: {
  custom: {
    50: '#897d51',
    500: '#564c0b',
    950: '#000000',
  },
}
SCSS
$custom: #564c0b;
$custom-light: #897d51;
$custom-dark: #000000;
JSON
{
  "hex": "#564c0b",
  "rgb": {
    "r": 86,
    "g": 76,
    "b": 11
  },
  "hsl": {
    "h": 52,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41431,
    "c": 0.08053,
    "h": 99.9
  },
  "luminance": 0.07171
}

Semantic roles & 50–950 ramp

primary
#564C0B
secondary
#2B3991
accent
#4EF434
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0C0902
muted
#7D7B78

Preview Lab

Preview with #564C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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