#564E18#564E18

#564E18 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 42.0% C 0.073 H 100.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#564E18
RGBrgb(86, 78, 24)
HSLhsl(52, 56%, 22%)
HSVhsv(52, 72%, 34%)
CMYKcmyk(0%, 9.3%, 72.1%, 66.3%)
CIE-LABlab(32.91, -3.97, 31.94)
CIE-LCHlch(32.91, 32.18, 97.09°)
OKLaboklab(42.02% -0.0137 0.072)
OKLCHoklch(42.02% 0.073 100.8)
XYZxyz(6.7273, 7.4935, 1.9560)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564E18 #182056
analogous
#562F18 #564E18 #3F5618
triadic
#564E18 #18564E #4E1856
tetradic
#564E18 #18562F #182056 #56183F
square
#564E18 #18562F #182056 #56183F
split-complementary
#564E18 #183F56 #2F1856
monochromatic
#181607 #26230B #564E18 #867925 #B6A533

Accessibility & contrast

On white

8.40
#564E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#564E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564E18
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564E18#FFFFFF#000000##FFFFFF
##564E181.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C11
Deuteranopia (green-blind)
#584F1B
Tritanopia (blue-blind)
#5D4843
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #564e18;
/* rgb */ color: rgb(86, 78, 24);
/* oklch */ color: oklch(42.0% 0.073 100.8);
Tailwind
colors: {
  custom: {
    50: '#887f58',
    500: '#564e18',
    950: '#000000',
  },
}
SCSS
$custom: #564e18;
$custom-light: #887f58;
$custom-dark: #000000;
JSON
{
  "hex": "#564e18",
  "rgb": {
    "r": 86,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 52.258,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42024,
    "c": 0.07332,
    "h": 100.8
  },
  "luminance": 0.07493
}

Semantic roles & 50–950 ramp

primary
#564E18
secondary
#3D478D
accent
#5CE048
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #564E18

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

Preview Lab → · Contrast checker → · Palette generator →

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