#564818#564818

#564818 is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.6% C 0.068 H 92.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#564818
RGBrgb(86, 72, 24)
HSLhsl(46, 56%, 22%)
HSVhsv(46, 72%, 34%)
CMYKcmyk(0%, 16.3%, 72.1%, 66.3%)
CIE-LABlab(31.07, -0.30, 30.01)
CIE-LCHlch(31.07, 30.01, 90.58°)
OKLaboklab(40.57% -0.0032 0.0679)
OKLCHoklch(40.57% 0.068 92.7)
XYZxyz(6.3203, 6.6795, 1.8203)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564818 #182656
analogous
#562918 #564818 #455618
triadic
#564818 #185648 #481856
tetradic
#564818 #185629 #182656 #561845
square
#564818 #185629 #182656 #561845
split-complementary
#564818 #184556 #291856
monochromatic
#181407 #26200B #564818 #867025 #B69833

Accessibility & contrast

On white

8.99
#564818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#564818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564818
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564818#FFFFFF#000000##FFFFFF
##5648181.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504712
Deuteranopia (green-blind)
#544B1A
Tritanopia (blue-blind)
#5D423E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #564818;
/* rgb */ color: rgb(86, 72, 24);
/* oklch */ color: oklch(40.6% 0.068 92.7);
Tailwind
colors: {
  custom: {
    50: '#887a57',
    500: '#564818',
    950: '#000000',
  },
}
SCSS
$custom: #564818;
$custom-light: #887a57;
$custom-dark: #000000;
JSON
{
  "hex": "#564818",
  "rgb": {
    "r": 86,
    "g": 72,
    "b": 24
  },
  "hsl": {
    "h": 46.452,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40568,
    "c": 0.06802,
    "h": 92.7
  },
  "luminance": 0.06679
}

Semantic roles & 50–950 ramp

primary
#564818
secondary
#3D4F8D
accent
#6AE048
background
#F8F7F5
surface
#F0EDE9
border
#CBC8C5
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #564818

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

Preview Lab → · Contrast checker → · Palette generator →

#564818 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva