#565121#565121

#565121 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.9% C 0.068 H 103.4°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#565121
RGBrgb(86, 81, 33)
HSLhsl(54, 45%, 23%)
HSVhsv(54, 62%, 34%)
CMYKcmyk(0%, 5.8%, 61.6%, 66.3%)
CIE-LABlab(33.93, -5.07, 28.45)
CIE-LCHlch(33.93, 28.89, 100.11°)
OKLaboklab(42.87% -0.0157 0.0661)
OKLCHoklch(42.87% 0.068 103.4)
XYZxyz(7.0549, 7.9733, 2.6059)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565121 #212656
analogous
#563621 #565121 #405621
triadic
#565121 #215651 #512156
tetradic
#565121 #215636 #212656 #562140
square
#565121 #215636 #212656 #562140
split-complementary
#565121 #214056 #362156
monochromatic
#161508 #2A2710 #565121 #827B32 #AEA443

Accessibility & contrast

On white

8.09
#565121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #565121
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565121#FFFFFF#000000##FFFFFF
##5651211.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E1C
Deuteranopia (green-blind)
#5A5123
Tritanopia (blue-blind)
#5C4C46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #565121;
/* rgb */ color: rgb(86, 81, 33);
/* oklch */ color: oklch(42.9% 0.068 103.4);
Tailwind
colors: {
  custom: {
    50: '#87815e',
    500: '#565121',
    950: '#000000',
  },
}
SCSS
$custom: #565121;
$custom-light: #87815e;
$custom-dark: #000000;
JSON
{
  "hex": "#565121",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 33
  },
  "hsl": {
    "h": 54.34,
    "s": 44.538,
    "l": 23.333
  },
  "oklch": {
    "l": 0.42866,
    "c": 0.06789,
    "h": 103.4
  },
  "luminance": 0.07973
}

Semantic roles & 50–950 ramp

primary
#565121
secondary
#494F8A
accent
#60D454
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #565121

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

Preview Lab → · Contrast checker → · Palette generator →

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