#564512#564512

#564512 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.8% C 0.071 H 89.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#564512
RGBrgb(86, 69, 18)
HSLhsl(45, 65%, 20%)
HSVhsv(45, 79%, 34%)
CMYKcmyk(0%, 19.8%, 79.1%, 66.3%)
CIE-LABlab(30.11, 1.19, 31.93)
CIE-LCHlch(30.11, 31.95, 87.87°)
OKLaboklab(39.79% 0.0002 0.0708)
OKLCHoklch(39.79% 0.071 89.8)
XYZxyz(6.0754, 6.2787, 1.4641)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564512 #122356
analogous
#562312 #564512 #455612
triadic
#564512 #125645 #451256
tetradic
#564512 #125623 #122356 #561245
square
#564512 #125623 #122356 #561245
split-complementary
#564512 #124556 #231256
monochromatic
#191405 #231C07 #564512 #896E1D #BB9627

Accessibility & contrast

On white

9.31
#564512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#564512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564512
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564512#FFFFFF#000000##FFFFFF
##5645121.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E440A
Deuteranopia (green-blind)
#524915
Tritanopia (blue-blind)
#5E3F3B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #564512;
/* rgb */ color: rgb(86, 69, 18);
/* oklch */ color: oklch(39.8% 0.071 89.8);
Tailwind
colors: {
  custom: {
    50: '#897854',
    500: '#564512',
    950: '#000000',
  },
}
SCSS
$custom: #564512;
$custom-light: #897854;
$custom-dark: #000000;
JSON
{
  "hex": "#564512",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 45,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39793,
    "c": 0.07078,
    "h": 89.8
  },
  "luminance": 0.06278
}

Semantic roles & 50–950 ramp

primary
#564512
secondary
#354B8F
accent
#6AE83F
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0C0803
muted
#7D7B78

Preview Lab

Preview with #564512

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

Preview Lab → · Contrast checker → · Palette generator →

#564512 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva