#564A16#564A16

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

Color values

HEX#564A16
RGBrgb(86, 74, 22)
HSLhsl(49, 59%, 21%)
HSVhsv(49, 74%, 34%)
CMYKcmyk(0%, 14%, 74.4%, 66.3%)
CIE-LABlab(31.66, -1.67, 31.61)
CIE-LCHlch(31.66, 31.66, 93.02°)
OKLaboklab(41.03% -0.0074 0.071)
OKLCHoklch(41.03% 0.071 96)
XYZxyz(6.4317, 6.9343, 1.7586)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564A16 #162256
analogous
#562A16 #564A16 #425616
triadic
#564A16 #16564A #4A1656
tetradic
#564A16 #16562A #162256 #561642
square
#564A16 #16562A #162256 #561642
split-complementary
#564A16 #164256 #2A1656
monochromatic
#181506 #25200A #564A16 #877422 #B79E2F

Accessibility & contrast

On white

8.80
#564A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#564A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564A16
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564A16#FFFFFF#000000##FFFFFF
##564A161.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480F
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#5D443F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #564a16;
/* rgb */ color: rgb(86, 74, 22);
/* oklch */ color: oklch(41.0% 0.071 96.0);
Tailwind
colors: {
  custom: {
    50: '#887c56',
    500: '#564a16',
    950: '#000000',
  },
}
SCSS
$custom: #564a16;
$custom-light: #887c56;
$custom-dark: #000000;
JSON
{
  "hex": "#564a16",
  "rgb": {
    "r": 86,
    "g": 74,
    "b": 22
  },
  "hsl": {
    "h": 48.75,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41029,
    "c": 0.07134,
    "h": 96
  },
  "luminance": 0.06934
}

Semantic roles & 50–950 ramp

primary
#564A16
secondary
#3A4A8D
accent
#63E245
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #564A16

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

Preview Lab → · Contrast checker → · Palette generator →

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