#565822#565822

#565822 is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.6% C 0.075 H 111.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#565822
RGBrgb(86, 88, 34)
HSLhsl(62, 44%, 24%)
HSVhsv(62, 61%, 35%)
CMYKcmyk(2.3%, 0%, 61.4%, 65.5%)
CIE-LABlab(36.13, -9.12, 30.40)
CIE-LCHlch(36.13, 31.73, 106.69°)
OKLaboklab(44.62% -0.0271 0.0704)
OKLCHoklch(44.62% 0.075 111)
XYZxyz(7.6164, 9.0735, 2.8632)
Luminance0.0907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565822 #242258
analogous
#583F22 #565822 #3B5822
triadic
#565822 #225658 #582256
tetradic
#565822 #22583F #242258 #58223B
square
#565822 #22583F #242258 #58223B
split-complementary
#565822 #223B58 #3F2258
monochromatic
#161609 #2B2C11 #565822 #818433 #ACB044

Accessibility & contrast

On white

7.46
#565822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#565822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565822
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565822#FFFFFF#000000##FFFFFF
##5658221.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F541C
Deuteranopia (green-blind)
#5F5625
Tritanopia (blue-blind)
#5C534C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #565822;
/* rgb */ color: rgb(86, 88, 34);
/* oklch */ color: oklch(44.6% 0.075 111.0);
Tailwind
colors: {
  custom: {
    50: '#87875f',
    500: '#565822',
    950: '#000000',
  },
}
SCSS
$custom: #565822;
$custom-light: #87875f;
$custom-dark: #000000;
JSON
{
  "hex": "#565822",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 34
  },
  "hsl": {
    "h": 62.222,
    "s": 44.262,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4462,
    "c": 0.0754,
    "h": 111
  },
  "luminance": 0.09073
}

Semantic roles & 50–950 ramp

primary
#565822
secondary
#4C4A8C
accent
#54D459
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B05
muted
#7C7C79

Preview Lab

Preview with #565822

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

Preview Lab → · Contrast checker → · Palette generator →

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