#564B0F#564B0F

#564B0F is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 41.2% C 0.077 H 98.3°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#564B0F
RGBrgb(86, 75, 15)
HSLhsl(51, 70%, 20%)
HSVhsv(51, 83%, 34%)
CMYKcmyk(0%, 12.8%, 82.6%, 66.3%)
CIE-LABlab(31.91, -2.67, 34.95)
CIE-LCHlch(31.91, 35.06, 94.36°)
OKLaboklab(41.21% -0.0112 0.0765)
OKLCHoklch(41.21% 0.077 98.3)
XYZxyz(6.4404, 7.0454, 1.4725)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564B0F #0F1A56
analogous
#56270F #564B0F #3E560F
triadic
#564B0F #0F564B #4B0F56
tetradic
#564B0F #0F5627 #0F1A56 #560F3E
square
#564B0F #0F5627 #0F1A56 #560F3E
split-complementary
#564B0F #0F3E56 #270F56
monochromatic
#1A1705 #221E06 #564B0F #8A7818 #BEA621

Accessibility & contrast

On white

8.72
#564B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#564B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564B0F
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564B0F#FFFFFF#000000##FFFFFF
##564B0F1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534904
Deuteranopia (green-blind)
#564D13
Tritanopia (blue-blind)
#5D4540
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #564b0f;
/* rgb */ color: rgb(86, 75, 15);
/* oklch */ color: oklch(41.2% 0.077 98.3);
Tailwind
colors: {
  custom: {
    50: '#897d53',
    500: '#564b0f',
    950: '#000000',
  },
}
SCSS
$custom: #564b0f;
$custom-light: #897d53;
$custom-dark: #000000;
JSON
{
  "hex": "#564b0f",
  "rgb": {
    "r": 86,
    "g": 75,
    "b": 15
  },
  "hsl": {
    "h": 50.704,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41213,
    "c": 0.07733,
    "h": 98.3
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

primary
#564B0F
secondary
#314090
accent
#56ED3B
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0C0902
muted
#7D7B78

Preview Lab

Preview with #564B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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