#564F12#564F12

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

Color values

HEX#564F12
RGBrgb(86, 79, 18)
HSLhsl(54, 65%, 20%)
HSVhsv(54, 79%, 34%)
CMYKcmyk(0%, 8.1%, 79.1%, 66.3%)
CIE-LABlab(33.17, -4.94, 34.91)
CIE-LCHlch(33.17, 35.26, 98.05°)
OKLaboklab(42.22% -0.0172 0.0771)
OKLCHoklch(42.22% 0.079 102.6)
XYZxyz(6.7432, 7.6144, 1.6867)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564F12 #121956
analogous
#562D12 #564F12 #3B5612
triadic
#564F12 #12564F #4F1256
tetradic
#564F12 #12562D #121956 #56123B
square
#564F12 #12562D #121956 #56123B
split-complementary
#564F12 #123B56 #2D1256
monochromatic
#191705 #232107 #564F12 #897D1D #BBAC27

Accessibility & contrast

On white

8.32
#564F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #564F12
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564F12#FFFFFF#000000##FFFFFF
##564F121.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #564f12;
/* rgb */ color: rgb(86, 79, 18);
/* oklch */ color: oklch(42.2% 0.079 102.6);
Tailwind
colors: {
  custom: {
    50: '#888055',
    500: '#564f12',
    950: '#000000',
  },
}
SCSS
$custom: #564f12;
$custom-light: #888055;
$custom-dark: #000000;
JSON
{
  "hex": "#564f12",
  "rgb": {
    "r": 86,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 53.824,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.42216,
    "c": 0.079,
    "h": 102.6
  },
  "luminance": 0.07614
}

Semantic roles & 50–950 ramp

primary
#564F12
secondary
#353E8F
accent
#51E83F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #564F12

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

Preview Lab → · Contrast checker → · Palette generator →

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