#565238#565238

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

Color values

HEX#565238
RGBrgb(86, 82, 56)
HSLhsl(52, 21%, 28%)
HSVhsv(52, 35%, 34%)
CMYKcmyk(0%, 4.7%, 34.9%, 66.3%)
CIE-LABlab(34.60, -2.98, 15.89)
CIE-LCHlch(34.60, 16.16, 100.62°)
OKLaboklab(43.52% -0.0073 0.0396)
OKLCHoklch(43.52% 0.04 100.5)
XYZxyz(7.5689, 8.2987, 4.9437)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565238 #383C56
analogous
#564338 #565238 #4B5638
triadic
#565238 #385652 #523856
tetradic
#565238 #385643 #383C56 #56384B
square
#565238 #385643 #383C56 #56384B
split-complementary
#565238 #384B56 #433856
monochromatic
#13120C #312F20 #565238 #7B7550 #9E976A

Accessibility & contrast

On white

7.90
#565238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#565238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565238
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565238#FFFFFF#000000##FFFFFF
##5652381.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575036
Deuteranopia (green-blind)
#585239
Tritanopia (blue-blind)
#5A4E4B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #565238;
/* rgb */ color: rgb(86, 82, 56);
/* oklch */ color: oklch(43.5% 0.040 100.5);
Tailwind
colors: {
  custom: {
    50: '#86826f',
    500: '#565238',
    950: '#000000',
  },
}
SCSS
$custom: #565238;
$custom-light: #86826f;
$custom-dark: #000000;
JSON
{
  "hex": "#565238",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 56
  },
  "hsl": {
    "h": 52,
    "s": 21.127,
    "l": 27.843
  },
  "oklch": {
    "l": 0.43515,
    "c": 0.04029,
    "h": 100.5
  },
  "luminance": 0.08299
}

Semantic roles & 50–950 ramp

primary
#565238
secondary
#646886
accent
#75BE6A
background
#F8F7F6
surface
#EFEEEC
border
#CAC9C7
text
#0B0A07
muted
#7C7C7A

Preview Lab

Preview with #565238

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

Preview Lab → · Contrast checker → · Palette generator →

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