#565B20#565B20

#565B20 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.4% C 0.081 H 113.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#565B20
RGBrgb(86, 91, 32)
HSLhsl(65, 48%, 24%)
HSVhsv(65, 65%, 36%)
CMYKcmyk(5.5%, 0%, 64.8%, 64.3%)
CIE-LABlab(37.05, -11.02, 32.44)
CIE-LCHlch(37.05, 34.26, 108.76°)
OKLaboklab(45.35% -0.0327 0.0744)
OKLCHoklch(45.35% 0.081 113.7)
XYZxyz(7.8397, 9.5650, 2.7995)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565B20 #25205B
analogous
#5B4320 #565B20 #395B20
triadic
#565B20 #20565B #5B2056
tetradic
#565B20 #205B43 #25205B #5B2039
square
#565B20 #205B43 #25205B #5B2039
split-complementary
#565B20 #20395B #43205B
monochromatic
#151708 #2B2E10 #565B20 #818830 #ACB640

Accessibility & contrast

On white

7.21
#565B20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#565B20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565B20
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565B20#FFFFFF#000000##FFFFFF
##565B201.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625719
Deuteranopia (green-blind)
#625824
Tritanopia (blue-blind)
#5C564E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #565b20;
/* rgb */ color: rgb(86, 91, 32);
/* oklch */ color: oklch(45.4% 0.081 113.7);
Tailwind
colors: {
  custom: {
    50: '#87895e',
    500: '#565b20',
    950: '#000000',
  },
}
SCSS
$custom: #565b20;
$custom-light: #87895e;
$custom-dark: #000000;
JSON
{
  "hex": "#565b20",
  "rgb": {
    "r": 86,
    "g": 91,
    "b": 32
  },
  "hsl": {
    "h": 65.085,
    "s": 47.967,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45353,
    "c": 0.08128,
    "h": 113.7
  },
  "luminance": 0.09565
}

Semantic roles & 50–950 ramp

primary
#565B20
secondary
#4D478F
accent
#50D85C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #565B20

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

Preview Lab → · Contrast checker → · Palette generator →

#565B20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva