#565142#565142

#565142 is a dark, muted yellow. Relative luminance 0.083; OKLCH L 43.5% C 0.025 H 91.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#565142
RGBrgb(86, 81, 66)
HSLhsl(45, 13%, 30%)
HSVhsv(45, 23%, 34%)
CMYKcmyk(0%, 5.8%, 23.3%, 66.3%)
CIE-LABlab(34.51, -0.78, 9.58)
CIE-LCHlch(34.51, 9.61, 94.67°)
OKLaboklab(43.52% -0.0008 0.0246)
OKLCHoklch(43.52% 0.025 91.8)
XYZxyz(7.7635, 8.2568, 6.3379)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565142 #424756
analogous
#564742 #565142 #515642
triadic
#565142 #425651 #514256
tetradic
#565142 #425647 #424756 #564251
square
#565142 #425647 #424756 #564251
split-complementary
#565142 #425156 #474256
monochromatic
#11100D #333027 #565142 #79725D #99917A

Accessibility & contrast

On white

7.92
#565142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#565142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565142
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565142#FFFFFF#000000##FFFFFF
##5651421.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545041
Deuteranopia (green-blind)
#565242
Tritanopia (blue-blind)
#594F4D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #565142;
/* rgb */ color: rgb(86, 81, 66);
/* oklch */ color: oklch(43.5% 0.025 91.8);
Tailwind
colors: {
  custom: {
    50: '#858176',
    500: '#565142',
    950: '#000000',
  },
}
SCSS
$custom: #565142;
$custom-light: #858176;
$custom-dark: #000000;
JSON
{
  "hex": "#565142",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 66
  },
  "hsl": {
    "h": 45,
    "s": 13.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.43519,
    "c": 0.02456,
    "h": 91.8
  },
  "luminance": 0.08257
}

Semantic roles & 50–950 ramp

primary
#565142
secondary
#6F7485
accent
#83B672
background
#F8F7F7
surface
#EFEEED
border
#CAC9C8
text
#0B0A08
muted
#7C7C7B

Preview Lab

Preview with #565142

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

Preview Lab → · Contrast checker → · Palette generator →

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