#564A12#564A12

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

Color values

HEX#564A12
RGBrgb(86, 74, 18)
HSLhsl(49, 65%, 20%)
HSVhsv(49, 79%, 34%)
CMYKcmyk(0%, 14%, 79.1%, 66.3%)
CIE-LABlab(31.62, -1.90, 33.42)
CIE-LCHlch(31.62, 33.48, 93.26°)
OKLaboklab(40.99% -0.0086 0.0739)
OKLCHoklch(40.99% 0.074 96.7)
XYZxyz(6.3960, 6.9200, 1.5709)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564A12 #121E56
analogous
#562812 #564A12 #405612
triadic
#564A12 #12564A #4A1256
tetradic
#564A12 #125628 #121E56 #561240
square
#564A12 #125628 #121E56 #561240
split-complementary
#564A12 #124056 #281256
monochromatic
#191605 #231E07 #564A12 #89761D #BBA127

Accessibility & contrast

On white

8.81
#564A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #564A12
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564A12#FFFFFF#000000##FFFFFF
##564A121.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524809
Deuteranopia (green-blind)
#554C15
Tritanopia (blue-blind)
#5D443F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #564a12;
/* rgb */ color: rgb(86, 74, 18);
/* oklch */ color: oklch(41.0% 0.074 96.7);
Tailwind
colors: {
  custom: {
    50: '#887c54',
    500: '#564a12',
    950: '#000000',
  },
}
SCSS
$custom: #564a12;
$custom-light: #887c54;
$custom-dark: #000000;
JSON
{
  "hex": "#564a12",
  "rgb": {
    "r": 86,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 49.412,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40993,
    "c": 0.07444,
    "h": 96.7
  },
  "luminance": 0.0692
}

Semantic roles & 50–950 ramp

primary
#564A12
secondary
#35458F
accent
#5DE83F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #564A12

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

Preview Lab → · Contrast checker → · Palette generator →

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