#564812#564812

#564812 is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.5% C 0.073 H 94.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#564812
RGBrgb(86, 72, 18)
HSLhsl(48, 65%, 20%)
HSVhsv(48, 79%, 34%)
CMYKcmyk(0%, 16.3%, 79.1%, 66.3%)
CIE-LABlab(31.01, -0.67, 32.83)
CIE-LCHlch(31.01, 32.83, 91.18°)
OKLaboklab(40.51% -0.0051 0.0727)
OKLCHoklch(40.51% 0.073 94)
XYZxyz(6.2646, 6.6572, 1.5271)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564812 #122056
analogous
#562612 #564812 #425612
triadic
#564812 #125648 #481256
tetradic
#564812 #125626 #122056 #561242
square
#564812 #125626 #122056 #561242
split-complementary
#564812 #124256 #261256
monochromatic
#191505 #231E07 #564812 #89721D #BB9D27

Accessibility & contrast

On white

9.01
#564812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#564812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564812
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564812#FFFFFF#000000##FFFFFF
##5648121.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50470A
Deuteranopia (green-blind)
#544B15
Tritanopia (blue-blind)
#5E423D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #564812;
/* rgb */ color: rgb(86, 72, 18);
/* oklch */ color: oklch(40.5% 0.073 94.0);
Tailwind
colors: {
  custom: {
    50: '#887a54',
    500: '#564812',
    950: '#000000',
  },
}
SCSS
$custom: #564812;
$custom-light: #887a54;
$custom-dark: #000000;
JSON
{
  "hex": "#564812",
  "rgb": {
    "r": 86,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 47.647,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.4051,
    "c": 0.07285,
    "h": 94
  },
  "luminance": 0.06657
}

Semantic roles & 50–950 ramp

primary
#564812
secondary
#35488F
accent
#62E83F
background
#F8F7F4
surface
#F0EDE8
border
#CBC8C4
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #564812

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

Preview Lab → · Contrast checker → · Palette generator →

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