#565138#565138

#565138 is a dark, muted yellow. Relative luminance 0.081; OKLCH L 43.3% C 0.039 H 98.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#565138
RGBrgb(86, 81, 56)
HSLhsl(50, 21%, 28%)
HSVhsv(50, 35%, 34%)
CMYKcmyk(0%, 5.8%, 34.9%, 66.3%)
CIE-LABlab(34.29, -2.37, 15.48)
CIE-LCHlch(34.29, 15.66, 98.70°)
OKLaboklab(43.27% -0.0056 0.0387)
OKLCHoklch(43.27% 0.039 98.2)
XYZxyz(7.4941, 8.1490, 4.9188)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565138 #383D56
analogous
#564238 #565138 #4C5638
triadic
#565138 #385651 #513856
tetradic
#565138 #385642 #383D56 #56384C
square
#565138 #385642 #383D56 #56384C
split-complementary
#565138 #384C56 #423856
monochromatic
#13110C #312E20 #565138 #7B7450 #9E956A

Accessibility & contrast

On white

7.99
#565138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#565138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565138
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565138#FFFFFF#000000##FFFFFF
##5651381.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565036
Deuteranopia (green-blind)
#575139
Tritanopia (blue-blind)
#5B4D4A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #565138;
/* rgb */ color: rgb(86, 81, 56);
/* oklch */ color: oklch(43.3% 0.039 98.2);
Tailwind
colors: {
  custom: {
    50: '#86816e',
    500: '#565138',
    950: '#000000',
  },
}
SCSS
$custom: #565138;
$custom-light: #86816e;
$custom-dark: #000000;
JSON
{
  "hex": "#565138",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 56
  },
  "hsl": {
    "h": 50,
    "s": 21.127,
    "l": 27.843
  },
  "oklch": {
    "l": 0.43273,
    "c": 0.03906,
    "h": 98.2
  },
  "luminance": 0.08149
}

Semantic roles & 50–950 ramp

primary
#565138
secondary
#646986
accent
#78BE6A
background
#F8F7F6
surface
#EFEEEC
border
#CAC9C7
text
#0B0A07
muted
#7C7C7A

Preview Lab

Preview with #565138

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

Preview Lab → · Contrast checker → · Palette generator →

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