#564F18#564F18

#564F18 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.3% C 0.074 H 102.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#564F18
RGBrgb(86, 79, 24)
HSLhsl(53, 56%, 22%)
HSVhsv(53, 72%, 34%)
CMYKcmyk(0%, 8.1%, 72.1%, 66.3%)
CIE-LABlab(33.21, -4.57, 32.26)
CIE-LCHlch(33.21, 32.58, 98.07°)
OKLaboklab(42.27% -0.0155 0.0727)
OKLCHoklch(42.27% 0.074 102)
XYZxyz(6.7989, 7.6366, 1.9799)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564F18 #181F56
analogous
#563018 #564F18 #3E5618
triadic
#564F18 #18564F #4F1856
tetradic
#564F18 #185630 #181F56 #56183E
square
#564F18 #185630 #181F56 #56183E
split-complementary
#564F18 #183E56 #301856
monochromatic
#181607 #26230B #564F18 #867B25 #B6A733

Accessibility & contrast

On white

8.31
#564F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#564F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564F18
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564F18#FFFFFF#000000##FFFFFF
##564F181.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C11
Deuteranopia (green-blind)
#594F1B
Tritanopia (blue-blind)
#5D4944
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #564f18;
/* rgb */ color: rgb(86, 79, 24);
/* oklch */ color: oklch(42.3% 0.074 102.0);
Tailwind
colors: {
  custom: {
    50: '#888058',
    500: '#564f18',
    950: '#000000',
  },
}
SCSS
$custom: #564f18;
$custom-light: #888058;
$custom-dark: #000000;
JSON
{
  "hex": "#564f18",
  "rgb": {
    "r": 86,
    "g": 79,
    "b": 24
  },
  "hsl": {
    "h": 53.226,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4227,
    "c": 0.07433,
    "h": 102
  },
  "luminance": 0.07636
}

Semantic roles & 50–950 ramp

primary
#564F18
secondary
#3D468D
accent
#59E048
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #564F18

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

Preview Lab → · Contrast checker → · Palette generator →

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