#565117#565117

#565117 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.8% C 0.077 H 104.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#565117
RGBrgb(86, 81, 23)
HSLhsl(55, 58%, 21%)
HSVhsv(55, 73%, 34%)
CMYKcmyk(0%, 5.8%, 73.3%, 66.3%)
CIE-LABlab(33.83, -5.84, 33.36)
CIE-LCHlch(33.83, 33.87, 99.93°)
OKLaboklab(42.75% -0.0192 0.0748)
OKLCHoklch(42.75% 0.077 104.4)
XYZxyz(6.9351, 7.9254, 1.9749)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565117 #171C56
analogous
#563217 #565117 #3C5617
triadic
#565117 #175651 #511756
tetradic
#565117 #175632 #171C56 #56173C
square
#565117 #175632 #171C56 #56173C
split-complementary
#565117 #173C56 #321756
monochromatic
#181706 #26240A #565117 #867E24 #B7AC31

Accessibility & contrast

On white

8.12
#565117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#565117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565117
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565117#FFFFFF#000000##FFFFFF
##5651171.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0F
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#5D4B45
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #565117;
/* rgb */ color: rgb(86, 81, 23);
/* oklch */ color: oklch(42.8% 0.077 104.4);
Tailwind
colors: {
  custom: {
    50: '#888158',
    500: '#565117',
    950: '#000000',
  },
}
SCSS
$custom: #565117;
$custom-light: #888158;
$custom-dark: #000000;
JSON
{
  "hex": "#565117",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 23
  },
  "hsl": {
    "h": 55.238,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42754,
    "c": 0.07725,
    "h": 104.4
  },
  "luminance": 0.07925
}

Semantic roles & 50–950 ramp

primary
#565117
secondary
#3C428D
accent
#53E147
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #565117

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

Preview Lab → · Contrast checker → · Palette generator →

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