#564F0F#564F0F

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

Color values

HEX#564F0F
RGBrgb(86, 79, 15)
HSLhsl(54, 70%, 20%)
HSVhsv(54, 83%, 34%)
CMYKcmyk(0%, 8.1%, 82.6%, 66.3%)
CIE-LABlab(33.15, -5.09, 36.10)
CIE-LCHlch(33.15, 36.46, 98.02°)
OKLaboklab(42.19% -0.018 0.079)
OKLCHoklch(42.19% 0.081 102.8)
XYZxyz(6.7203, 7.6052, 1.5658)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564F0F #0F1656
analogous
#562C0F #564F0F #39560F
triadic
#564F0F #0F564F #4F0F56
tetradic
#564F0F #0F562C #0F1656 #560F39
square
#564F0F #0F562C #0F1656 #560F39
split-complementary
#564F0F #0F3956 #2C0F56
monochromatic
#1A1805 #221F06 #564F0F #8A7F18 #BEAF21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##564F0F#FFFFFF#000000##FFFFFF
##564F0F1.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)
#574C03
Deuteranopia (green-blind)
#594F14
Tritanopia (blue-blind)
#5D4943
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #564f0f;
/* rgb */ color: rgb(86, 79, 15);
/* oklch */ color: oklch(42.2% 0.081 102.8);
Tailwind
colors: {
  custom: {
    50: '#888053',
    500: '#564f0f',
    950: '#000000',
  },
}
SCSS
$custom: #564f0f;
$custom-light: #888053;
$custom-dark: #000000;
JSON
{
  "hex": "#564f0f",
  "rgb": {
    "r": 86,
    "g": 79,
    "b": 15
  },
  "hsl": {
    "h": 54.085,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42194,
    "c": 0.08098,
    "h": 102.8
  },
  "luminance": 0.07605
}

Semantic roles & 50–950 ramp

primary
#564F0F
secondary
#313A90
accent
#4CED3B
background
#F8F7F4
surface
#F0EEE8
border
#CBC9C4
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #564F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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