#565122#565122

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

Color values

HEX#565122
RGBrgb(86, 81, 34)
HSLhsl(54, 43%, 24%)
HSVhsv(54, 60%, 34%)
CMYKcmyk(0%, 5.8%, 60.5%, 66.3%)
CIE-LABlab(33.94, -4.98, 27.92)
CIE-LCHlch(33.94, 28.36, 100.12°)
OKLaboklab(42.88% -0.0153 0.0651)
OKLCHoklch(42.88% 0.067 103.3)
XYZxyz(7.0691, 7.9790, 2.6808)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565122 #222756
analogous
#563722 #565122 #415622
triadic
#565122 #225651 #512256
tetradic
#565122 #225637 #222756 #562241
square
#565122 #225637 #222756 #562241
split-complementary
#565122 #224156 #372256
monochromatic
#161509 #2A2811 #565122 #827A33 #AEA445

Accessibility & contrast

On white

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

On black

2.60
#565122 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##565122#FFFFFF#000000##FFFFFF
##5651221.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E1D
Deuteranopia (green-blind)
#5A5124
Tritanopia (blue-blind)
#5C4C47
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #565122;
/* rgb */ color: rgb(86, 81, 34);
/* oklch */ color: oklch(42.9% 0.067 103.3);
Tailwind
colors: {
  custom: {
    50: '#87815f',
    500: '#565122',
    950: '#000000',
  },
}
SCSS
$custom: #565122;
$custom-light: #87815f;
$custom-dark: #000000;
JSON
{
  "hex": "#565122",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 34
  },
  "hsl": {
    "h": 54.231,
    "s": 43.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.42879,
    "c": 0.06683,
    "h": 103.3
  },
  "luminance": 0.07979
}

Semantic roles & 50–950 ramp

primary
#565122
secondary
#4A508A
accent
#61D355
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #565122

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

Preview Lab → · Contrast checker → · Palette generator →

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