#564F0D#564F0D

#564F0D is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.2% C 0.082 H 103.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#564F0D
RGBrgb(86, 79, 13)
HSLhsl(54, 74%, 19%)
HSVhsv(54, 85%, 34%)
CMYKcmyk(0%, 8.1%, 84.9%, 66.3%)
CIE-LABlab(33.14, -5.18, 36.83)
CIE-LCHlch(33.14, 37.19, 98.00°)
OKLaboklab(42.18% -0.0184 0.0801)
OKLCHoklch(42.18% 0.082 103)
XYZxyz(6.7067, 7.5998, 1.4943)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564F0D #0D1456
analogous
#562B0D #564F0D #39560D
triadic
#564F0D #0D564F #4F0D56
tetradic
#564F0D #0D562B #0D1456 #560D39
square
#564F0D #0D562B #0D1456 #560D39
split-complementary
#564F0D #0D3956 #2B0D56
monochromatic
#1B1804 #211E05 #564F0D #8B8015 #C0B11D

Accessibility & contrast

On white

8.33
#564F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#564F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564F0D
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564F0D#FFFFFF#000000##FFFFFF
##564F0D1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#594F12
Tritanopia (blue-blind)
#5D4943
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #564f0d;
/* rgb */ color: rgb(86, 79, 13);
/* oklch */ color: oklch(42.2% 0.082 103.0);
Tailwind
colors: {
  custom: {
    50: '#898052',
    500: '#564f0d',
    950: '#000000',
  },
}
SCSS
$custom: #564f0d;
$custom-light: #898052;
$custom-dark: #000000;
JSON
{
  "hex": "#564f0d",
  "rgb": {
    "r": 86,
    "g": 79,
    "b": 13
  },
  "hsl": {
    "h": 54.247,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.42181,
    "c": 0.08218,
    "h": 103
  },
  "luminance": 0.07599
}

Semantic roles & 50–950 ramp

primary
#564F0D
secondary
#2E3891
accent
#49F037
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0C0A02
muted
#7D7C78

Preview Lab

Preview with #564F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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