#565217#565217

#565217 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.0% C 0.078 H 105.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#565217
RGBrgb(86, 82, 23)
HSLhsl(56, 58%, 21%)
HSVhsv(56, 73%, 34%)
CMYKcmyk(0%, 4.7%, 73.3%, 66.3%)
CIE-LABlab(34.14, -6.43, 33.68)
CIE-LCHlch(34.14, 34.29, 100.81°)
OKLaboklab(43% -0.0209 0.0755)
OKLCHoklch(43% 0.078 105.4)
XYZxyz(7.0100, 8.0751, 1.9998)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565217 #171B56
analogous
#563317 #565217 #3B5617
triadic
#565217 #175652 #521756
tetradic
#565217 #175633 #171B56 #56173B
square
#565217 #175633 #171B56 #56173B
split-complementary
#565217 #173B56 #331756
monochromatic
#181706 #26240A #565217 #868024 #B7AE31

Accessibility & contrast

On white

8.03
#565217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#565217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565217
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565217#FFFFFF#000000##FFFFFF
##5652171.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0F
Deuteranopia (green-blind)
#5B511B
Tritanopia (blue-blind)
#5D4C46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #565217;
/* rgb */ color: rgb(86, 82, 23);
/* oklch */ color: oklch(43.0% 0.078 105.4);
Tailwind
colors: {
  custom: {
    50: '#888258',
    500: '#565217',
    950: '#000000',
  },
}
SCSS
$custom: #565217;
$custom-light: #888258;
$custom-dark: #000000;
JSON
{
  "hex": "#565217",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 23
  },
  "hsl": {
    "h": 56.19,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43002,
    "c": 0.07833,
    "h": 105.4
  },
  "luminance": 0.08075
}

Semantic roles & 50–950 ramp

primary
#565217
secondary
#3C418D
accent
#51E147
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #565217

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

Preview Lab → · Contrast checker → · Palette generator →

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