#564C12#564C12

#564C12 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.5% C 0.076 H 99.1°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#564C12
RGBrgb(86, 76, 18)
HSLhsl(51, 65%, 20%)
HSVhsv(51, 79%, 34%)
CMYKcmyk(0%, 11.6%, 79.1%, 66.3%)
CIE-LABlab(32.24, -3.12, 34.02)
CIE-LCHlch(32.24, 34.16, 95.25°)
OKLaboklab(41.48% -0.0121 0.0752)
OKLCHoklch(41.48% 0.076 99.1)
XYZxyz(6.5317, 7.1913, 1.6162)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564C12 #121C56
analogous
#562A12 #564C12 #3E5612
triadic
#564C12 #12564C #4C1256
tetradic
#564C12 #12562A #121C56 #56123E
square
#564C12 #12562A #121C56 #56123E
split-complementary
#564C12 #123E56 #2A1256
monochromatic
#191605 #231F07 #564C12 #89791D #BBA527

Accessibility & contrast

On white

8.61
#564C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#564C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564C12
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564C12#FFFFFF#000000##FFFFFF
##564C121.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A08
Deuteranopia (green-blind)
#574D16
Tritanopia (blue-blind)
#5D4641
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #564c12;
/* rgb */ color: rgb(86, 76, 18);
/* oklch */ color: oklch(41.5% 0.076 99.1);
Tailwind
colors: {
  custom: {
    50: '#887d54',
    500: '#564c12',
    950: '#000000',
  },
}
SCSS
$custom: #564c12;
$custom-light: #887d54;
$custom-dark: #000000;
JSON
{
  "hex": "#564c12",
  "rgb": {
    "r": 86,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 51.176,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.4148,
    "c": 0.07617,
    "h": 99.1
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

primary
#564C12
secondary
#35428F
accent
#58E83F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #564C12

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

Preview Lab → · Contrast checker → · Palette generator →

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