#565240#565240

#565240 is a dark, muted yellow. Relative luminance 0.084; OKLCH L 43.7% C 0.029 H 96.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#565240
RGBrgb(86, 82, 64)
HSLhsl(49, 15%, 29%)
HSVhsv(49, 26%, 34%)
CMYKcmyk(0%, 4.7%, 25.6%, 66.3%)
CIE-LABlab(34.77, -1.73, 11.18)
CIE-LCHlch(34.77, 11.31, 98.80°)
OKLaboklab(43.71% -0.0035 0.0285)
OKLCHoklch(43.71% 0.029 96.9)
XYZxyz(7.7805, 8.3833, 6.0578)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565240 #404456
analogous
#564740 #565240 #4F5640
triadic
#565240 #405652 #524056
tetradic
#565240 #405647 #404456 #56404F
square
#565240 #405647 #404456 #56404F
split-complementary
#565240 #404F56 #474056
monochromatic
#12110D #333126 #565240 #79735A #9A9377

Accessibility & contrast

On white

7.85
#565240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#565240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565240
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565240#FFFFFF#000000##FFFFFF
##5652401.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56513F
Deuteranopia (green-blind)
#575241
Tritanopia (blue-blind)
#5A4F4D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #565240;
/* rgb */ color: rgb(86, 82, 64);
/* oklch */ color: oklch(43.7% 0.029 96.9);
Tailwind
colors: {
  custom: {
    50: '#868274',
    500: '#565240',
    950: '#000000',
  },
}
SCSS
$custom: #565240;
$custom-light: #868274;
$custom-dark: #000000;
JSON
{
  "hex": "#565240",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 64
  },
  "hsl": {
    "h": 49.091,
    "s": 14.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.43706,
    "c": 0.02869,
    "h": 96.9
  },
  "luminance": 0.08383
}

Semantic roles & 50–950 ramp

primary
#565240
secondary
#6C7185
accent
#7DB770
background
#F8F7F7
surface
#EFEEED
border
#CAC9C8
text
#0B0A08
muted
#7C7C7B

Preview Lab

Preview with #565240

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

Preview Lab → · Contrast checker → · Palette generator →

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