#564912#564912

#564912 is a dark, moderate yellow. Relative luminance 0.068; OKLCH L 40.8% C 0.074 H 95.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#564912
RGBrgb(86, 73, 18)
HSLhsl(49, 65%, 20%)
HSVhsv(49, 79%, 34%)
CMYKcmyk(0%, 15.1%, 79.1%, 66.3%)
CIE-LABlab(31.32, -1.29, 33.12)
CIE-LCHlch(31.32, 33.15, 92.23°)
OKLaboklab(40.75% -0.0069 0.0733)
OKLCHoklch(40.75% 0.074 95.4)
XYZxyz(6.3298, 6.7875, 1.5489)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564912 #121F56
analogous
#562712 #564912 #415612
triadic
#564912 #125649 #491256
tetradic
#564912 #125627 #121F56 #561241
square
#564912 #125627 #121F56 #561241
split-complementary
#564912 #124156 #271256
monochromatic
#191505 #231E07 #564912 #89741D #BB9F27

Accessibility & contrast

On white

8.91
#564912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#564912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564912
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564912#FFFFFF#000000##FFFFFF
##5649121.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514709
Deuteranopia (green-blind)
#554B15
Tritanopia (blue-blind)
#5D433E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #564912;
/* rgb */ color: rgb(86, 73, 18);
/* oklch */ color: oklch(40.8% 0.074 95.4);
Tailwind
colors: {
  custom: {
    50: '#887b54',
    500: '#564912',
    950: '#000000',
  },
}
SCSS
$custom: #564912;
$custom-light: #887b54;
$custom-dark: #000000;
JSON
{
  "hex": "#564912",
  "rgb": {
    "r": 86,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 48.529,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40751,
    "c": 0.07362,
    "h": 95.4
  },
  "luminance": 0.06787
}

Semantic roles & 50–950 ramp

primary
#564912
secondary
#35468F
accent
#60E83F
background
#F8F7F5
surface
#F0EDE8
border
#CBC8C4
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #564912

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

Preview Lab → · Contrast checker → · Palette generator →

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