#564F0B#564F0B

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

Color values

HEX#564F0B
RGBrgb(86, 79, 11)
HSLhsl(54, 77%, 19%)
HSVhsv(54, 87%, 34%)
CMYKcmyk(0%, 8.1%, 87.2%, 66.3%)
CIE-LABlab(33.12, -5.25, 37.51)
CIE-LCHlch(33.12, 37.88, 97.97°)
OKLaboklab(42.17% -0.0189 0.0811)
OKLCHoklch(42.17% 0.083 103.1)
XYZxyz(6.6945, 7.5949, 1.4299)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564F0B #0B1256
analogous
#562A0B #564F0B #38560B
triadic
#564F0B #0B564F #4F0B56
tetradic
#564F0B #0B562A #0B1256 #560B38
square
#564F0B #0B562A #0B1256 #560B38
split-complementary
#564F0B #0B3856 #2A0B56
monochromatic
#1B1903 #201D04 #564F0B #8C8112 #C3B319

Accessibility & contrast

On white

8.34
#564F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #564F0B
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564F0B#FFFFFF#000000##FFFFFF
##564F0B1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #564f0b;
/* rgb */ color: rgb(86, 79, 11);
/* oklch */ color: oklch(42.2% 0.083 103.1);
Tailwind
colors: {
  custom: {
    50: '#898052',
    500: '#564f0b',
    950: '#000000',
  },
}
SCSS
$custom: #564f0b;
$custom-light: #898052;
$custom-dark: #000000;
JSON
{
  "hex": "#564f0b",
  "rgb": {
    "r": 86,
    "g": 79,
    "b": 11
  },
  "hsl": {
    "h": 54.4,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.4217,
    "c": 0.08326,
    "h": 103.1
  },
  "luminance": 0.07595
}

Semantic roles & 50–950 ramp

primary
#564F0B
secondary
#2B3591
accent
#46F434
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0C0A02
muted
#7D7C78

Preview Lab

Preview with #564F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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