#564D0F#564D0F

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

Color values

HEX#564D0F
RGBrgb(86, 77, 15)
HSLhsl(52, 70%, 20%)
HSVhsv(52, 83%, 34%)
CMYKcmyk(0%, 10.5%, 82.6%, 66.3%)
CIE-LABlab(32.53, -3.88, 35.53)
CIE-LCHlch(32.53, 35.74, 96.23°)
OKLaboklab(41.7% -0.0146 0.0777)
OKLCHoklch(41.7% 0.079 100.6)
XYZxyz(6.5782, 7.3210, 1.5184)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564D0F #0F1856
analogous
#56290F #564D0F #3C560F
triadic
#564D0F #0F564D #4D0F56
tetradic
#564D0F #0F5629 #0F1856 #560F3C
square
#564D0F #0F5629 #0F1856 #560F3C
split-complementary
#564D0F #0F3C56 #290F56
monochromatic
#1A1705 #221E06 #564D0F #8A7C18 #BEAA21

Accessibility & contrast

On white

8.52
#564D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #564D0F
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564D0F#FFFFFF#000000##FFFFFF
##564D0F1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #564d0f;
/* rgb */ color: rgb(86, 77, 15);
/* oklch */ color: oklch(41.7% 0.079 100.6);
Tailwind
colors: {
  custom: {
    50: '#887e53',
    500: '#564d0f',
    950: '#000000',
  },
}
SCSS
$custom: #564d0f;
$custom-light: #887e53;
$custom-dark: #000000;
JSON
{
  "hex": "#564d0f",
  "rgb": {
    "r": 86,
    "g": 77,
    "b": 15
  },
  "hsl": {
    "h": 52.394,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41702,
    "c": 0.0791,
    "h": 100.6
  },
  "luminance": 0.07321
}

Semantic roles & 50–950 ramp

primary
#564D0F
secondary
#313D90
accent
#51ED3B
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #564D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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