#564A0B#564A0B

#564A0B is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.9% C 0.079 H 97.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#564A0B
RGBrgb(86, 74, 11)
HSLhsl(50, 77%, 19%)
HSVhsv(50, 87%, 34%)
CMYKcmyk(0%, 14%, 87.2%, 66.3%)
CIE-LABlab(31.58, -2.23, 36.16)
CIE-LCHlch(31.58, 36.23, 93.53°)
OKLaboklab(40.94% -0.0103 0.0782)
OKLCHoklch(40.94% 0.079 97.5)
XYZxyz(6.3473, 6.9005, 1.3141)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564A0B #0B1756
analogous
#56250B #564A0B #3D560B
triadic
#564A0B #0B564A #4A0B56
tetradic
#564A0B #0B5625 #0B1756 #560B3D
square
#564A0B #0B5625 #0B1756 #560B3D
split-complementary
#564A0B #0B3D56 #250B56
monochromatic
#1B1703 #201B04 #564A0B #8C7912 #C3A719

Accessibility & contrast

On white

8.82
#564A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#564A0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564A0B
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564A0B#FFFFFF#000000##FFFFFF
##564A0B1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534800
Deuteranopia (green-blind)
#564C10
Tritanopia (blue-blind)
#5E433E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #564a0b;
/* rgb */ color: rgb(86, 74, 11);
/* oklch */ color: oklch(40.9% 0.079 97.5);
Tailwind
colors: {
  custom: {
    50: '#897c51',
    500: '#564a0b',
    950: '#000000',
  },
}
SCSS
$custom: #564a0b;
$custom-light: #897c51;
$custom-dark: #000000;
JSON
{
  "hex": "#564a0b",
  "rgb": {
    "r": 86,
    "g": 74,
    "b": 11
  },
  "hsl": {
    "h": 50.4,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40943,
    "c": 0.07885,
    "h": 97.5
  },
  "luminance": 0.069
}

Semantic roles & 50–950 ramp

primary
#564A0B
secondary
#2B3C91
accent
#53F434
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0C0902
muted
#7D7B78

Preview Lab

Preview with #564A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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