#564D0B#564D0B

#564D0B is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.7% C 0.081 H 101.0°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#564D0B
RGBrgb(86, 77, 11)
HSLhsl(53, 77%, 19%)
HSVhsv(53, 87%, 34%)
CMYKcmyk(0%, 10.5%, 87.2%, 66.3%)
CIE-LABlab(32.50, -4.05, 36.97)
CIE-LCHlch(32.50, 37.19, 96.25°)
OKLaboklab(41.68% -0.0155 0.0799)
OKLCHoklch(41.68% 0.081 101)
XYZxyz(6.5524, 7.3107, 1.3825)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564D0B #0B1456
analogous
#56280B #564D0B #3A560B
triadic
#564D0B #0B564D #4D0B56
tetradic
#564D0B #0B5628 #0B1456 #560B3A
square
#564D0B #0B5628 #0B1456 #560B3A
split-complementary
#564D0B #0B3A56 #280B56
monochromatic
#1B1803 #201C04 #564D0B #8C7E12 #C3AE19

Accessibility & contrast

On white

8.53
#564D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#564D0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564D0B
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564D0B#FFFFFF#000000##FFFFFF
##564D0B1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A00
Deuteranopia (green-blind)
#584E10
Tritanopia (blue-blind)
#5D4741
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #564d0b;
/* rgb */ color: rgb(86, 77, 11);
/* oklch */ color: oklch(41.7% 0.081 101.0);
Tailwind
colors: {
  custom: {
    50: '#897e51',
    500: '#564d0b',
    950: '#000000',
  },
}
SCSS
$custom: #564d0b;
$custom-light: #897e51;
$custom-dark: #000000;
JSON
{
  "hex": "#564d0b",
  "rgb": {
    "r": 86,
    "g": 77,
    "b": 11
  },
  "hsl": {
    "h": 52.8,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41676,
    "c": 0.08142,
    "h": 101
  },
  "luminance": 0.0731
}

Semantic roles & 50–950 ramp

primary
#564D0B
secondary
#2B3891
accent
#4BF434
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0C0902
muted
#7D7B78

Preview Lab

Preview with #564D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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