#565A20#565A20

#565A20 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.1% C 0.080 H 112.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#565A20
RGBrgb(86, 90, 32)
HSLhsl(64, 48%, 24%)
HSVhsv(64, 64%, 35%)
CMYKcmyk(4.4%, 0%, 64.4%, 64.7%)
CIE-LABlab(36.73, -10.44, 32.09)
CIE-LCHlch(36.73, 33.75, 108.02°)
OKLaboklab(45.1% -0.0311 0.0737)
OKLCHoklch(45.1% 0.08 112.9)
XYZxyz(7.7548, 9.3952, 2.7712)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565A20 #24205A
analogous
#5A4120 #565A20 #395A20
triadic
#565A20 #20565A #5A2056
tetradic
#565A20 #205A41 #24205A #5A2039
square
#565A20 #205A41 #24205A #5A2039
split-complementary
#565A20 #20395A #41205A
monochromatic
#161708 #2B2D10 #565A20 #818730 #ACB440

Accessibility & contrast

On white

7.29
#565A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#565A20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565A20
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565A20#FFFFFF#000000##FFFFFF
##565A201.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615619
Deuteranopia (green-blind)
#615724
Tritanopia (blue-blind)
#5C554E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #565a20;
/* rgb */ color: rgb(86, 90, 32);
/* oklch */ color: oklch(45.1% 0.080 112.9);
Tailwind
colors: {
  custom: {
    50: '#87885e',
    500: '#565a20',
    950: '#000000',
  },
}
SCSS
$custom: #565a20;
$custom-light: #87885e;
$custom-dark: #000000;
JSON
{
  "hex": "#565a20",
  "rgb": {
    "r": 86,
    "g": 90,
    "b": 32
  },
  "hsl": {
    "h": 64.138,
    "s": 47.541,
    "l": 23.922
  },
  "oklch": {
    "l": 0.451,
    "c": 0.07997,
    "h": 112.9
  },
  "luminance": 0.09395
}

Semantic roles & 50–950 ramp

primary
#565A20
secondary
#4C478E
accent
#51D75A
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #565A20

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

Preview Lab → · Contrast checker → · Palette generator →

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