#565842#565842

#565842 is a mid, muted yellow. Relative luminance 0.094; OKLCH L 45.2% C 0.034 H 112.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#565842
RGBrgb(86, 88, 66)
HSLhsl(65, 14%, 30%)
HSVhsv(65, 25%, 35%)
CMYKcmyk(2.3%, 0%, 25%, 65.5%)
CIE-LABlab(36.65, -5.02, 12.53)
CIE-LCHlch(36.65, 13.50, 111.85°)
OKLaboklab(45.21% -0.0128 0.0318)
OKLCHoklch(45.21% 0.034 112)
XYZxyz(8.3108, 9.3513, 6.5204)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565842 #444258
analogous
#584F42 #565842 #4B5842
triadic
#565842 #425658 #584256
tetradic
#565842 #42584F #444258 #58424B
square
#565842 #42584F #444258 #58424B
split-complementary
#565842 #424B58 #4F4258
monochromatic
#12120E #343528 #565842 #787B5C #989B7A

Accessibility & contrast

On white

7.32
#565842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#565842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565842
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565842#FFFFFF#000000##FFFFFF
##5658421.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5641
Deuteranopia (green-blind)
#5B5743
Tritanopia (blue-blind)
#595552
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #565842;
/* rgb */ color: rgb(86, 88, 66);
/* oklch */ color: oklch(45.2% 0.034 112.0);
Tailwind
colors: {
  custom: {
    50: '#868776',
    500: '#565842',
    950: '#000000',
  },
}
SCSS
$custom: #565842;
$custom-light: #868776;
$custom-dark: #000000;
JSON
{
  "hex": "#565842",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 66
  },
  "hsl": {
    "h": 65.455,
    "s": 14.286,
    "l": 30.196
  },
  "oklch": {
    "l": 0.45211,
    "c": 0.03429,
    "h": 112
  },
  "luminance": 0.09351
}

Semantic roles & 50–950 ramp

primary
#565842
secondary
#716F87
accent
#71B777
background
#F8F8F7
surface
#EFEFED
border
#CACAC8
text
#0B0B08
muted
#7C7C7B

Preview Lab

Preview with #565842

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

Preview Lab → · Contrast checker → · Palette generator →

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