#564D17#564D17

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

Color values

HEX#564D17
RGBrgb(86, 77, 23)
HSLhsl(51, 58%, 21%)
HSVhsv(51, 73%, 34%)
CMYKcmyk(0%, 10.5%, 73.3%, 66.3%)
CIE-LABlab(32.59, -3.43, 32.09)
CIE-LCHlch(32.59, 32.27, 96.11°)
OKLaboklab(41.77% -0.0123 0.0722)
OKLCHoklch(41.77% 0.073 99.7)
XYZxyz(6.6466, 7.3484, 1.8787)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564D17 #172056
analogous
#562E17 #564D17 #405617
triadic
#564D17 #17564D #4D1756
tetradic
#564D17 #17562E #172056 #561740
square
#564D17 #17562E #172056 #561740
split-complementary
#564D17 #174056 #2E1756
monochromatic
#181606 #26220A #564D17 #867824 #B7A331

Accessibility & contrast

On white

8.50
#564D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #564D17
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564D17#FFFFFF#000000##FFFFFF
##564D171.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #564d17;
/* rgb */ color: rgb(86, 77, 23);
/* oklch */ color: oklch(41.8% 0.073 99.7);
Tailwind
colors: {
  custom: {
    50: '#887e57',
    500: '#564d17',
    950: '#000000',
  },
}
SCSS
$custom: #564d17;
$custom-light: #887e57;
$custom-dark: #000000;
JSON
{
  "hex": "#564d17",
  "rgb": {
    "r": 86,
    "g": 77,
    "b": 23
  },
  "hsl": {
    "h": 51.429,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41769,
    "c": 0.0732,
    "h": 99.7
  },
  "luminance": 0.07348
}

Semantic roles & 50–950 ramp

primary
#564D17
secondary
#3C478D
accent
#5DE147
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #564D17

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

Preview Lab → · Contrast checker → · Palette generator →

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