#564E0B#564E0B

#564E0B is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.9% C 0.082 H 102.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#564E0B
RGBrgb(86, 78, 11)
HSLhsl(54, 77%, 19%)
HSVhsv(54, 87%, 34%)
CMYKcmyk(0%, 9.3%, 87.2%, 66.3%)
CIE-LABlab(32.81, -4.65, 37.24)
CIE-LCHlch(32.81, 37.53, 97.12°)
OKLaboklab(41.92% -0.0172 0.0805)
OKLCHoklch(41.92% 0.082 102)
XYZxyz(6.6229, 7.4517, 1.4060)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564E0B #0B1356
analogous
#56290B #564E0B #39560B
triadic
#564E0B #0B564E #4E0B56
tetradic
#564E0B #0B5629 #0B1356 #560B39
square
#564E0B #0B5629 #0B1356 #560B39
split-complementary
#564E0B #0B3956 #290B56
monochromatic
#1B1903 #201D04 #564E0B #8C7F12 #C3B019

Accessibility & contrast

On white

8.43
#564E0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#564E0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564E0B
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564E0B#FFFFFF#000000##FFFFFF
##564E0B1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B00
Deuteranopia (green-blind)
#594F11
Tritanopia (blue-blind)
#5D4842
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #564e0b;
/* rgb */ color: rgb(86, 78, 11);
/* oklch */ color: oklch(41.9% 0.082 102.0);
Tailwind
colors: {
  custom: {
    50: '#897f51',
    500: '#564e0b',
    950: '#000000',
  },
}
SCSS
$custom: #564e0b;
$custom-light: #897f51;
$custom-dark: #000000;
JSON
{
  "hex": "#564e0b",
  "rgb": {
    "r": 86,
    "g": 78,
    "b": 11
  },
  "hsl": {
    "h": 53.6,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41923,
    "c": 0.08233,
    "h": 102
  },
  "luminance": 0.07451
}

Semantic roles & 50–950 ramp

primary
#564E0B
secondary
#2B3691
accent
#48F434
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0C0A02
muted
#7D7C78

Preview Lab

Preview with #564E0B

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

Preview Lab → · Contrast checker → · Palette generator →

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