#564D16#564D16

#564D16 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.8% C 0.074 H 99.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#564D16
RGBrgb(86, 77, 22)
HSLhsl(52, 59%, 21%)
HSVhsv(52, 74%, 34%)
CMYKcmyk(0%, 10.5%, 74.4%, 66.3%)
CIE-LABlab(32.58, -3.50, 32.55)
CIE-LCHlch(32.58, 32.74, 96.13°)
OKLaboklab(41.76% -0.0127 0.0729)
OKLCHoklch(41.76% 0.074 99.8)
XYZxyz(6.6367, 7.3444, 1.8269)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564D16 #161F56
analogous
#562D16 #564D16 #3F5616
triadic
#564D16 #16564D #4D1656
tetradic
#564D16 #16562D #161F56 #56163F
square
#564D16 #16562D #161F56 #56163F
split-complementary
#564D16 #163F56 #2D1656
monochromatic
#181606 #25210A #564D16 #877922 #B7A42F

Accessibility & contrast

On white

8.51
#564D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#564D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564D16
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564D16#FFFFFF#000000##FFFFFF
##564D161.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0E
Deuteranopia (green-blind)
#574E19
Tritanopia (blue-blind)
#5D4742
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #564d16;
/* rgb */ color: rgb(86, 77, 22);
/* oklch */ color: oklch(41.8% 0.074 99.8);
Tailwind
colors: {
  custom: {
    50: '#887e57',
    500: '#564d16',
    950: '#000000',
  },
}
SCSS
$custom: #564d16;
$custom-light: #887e57;
$custom-dark: #000000;
JSON
{
  "hex": "#564d16",
  "rgb": {
    "r": 86,
    "g": 77,
    "b": 22
  },
  "hsl": {
    "h": 51.563,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41759,
    "c": 0.07403,
    "h": 99.8
  },
  "luminance": 0.07344
}

Semantic roles & 50–950 ramp

primary
#564D16
secondary
#3A468D
accent
#5BE245
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #564D16

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

Preview Lab → · Contrast checker → · Palette generator →

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