#565C20#565C20

#565C20 is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.6% C 0.083 H 114.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#565C20
RGBrgb(86, 92, 32)
HSLhsl(66, 48%, 24%)
HSVhsv(66, 65%, 36%)
CMYKcmyk(6.5%, 0%, 65.2%, 63.9%)
CIE-LABlab(37.37, -11.58, 32.78)
CIE-LCHlch(37.37, 34.77, 109.46°)
OKLaboklab(45.61% -0.0343 0.0752)
OKLCHoklch(45.61% 0.083 114.5)
XYZxyz(7.9258, 9.7371, 2.8282)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565C20 #26205C
analogous
#5C4420 #565C20 #385C20
triadic
#565C20 #20565C #5C2056
tetradic
#565C20 #205C44 #26205C #5C2038
square
#565C20 #205C44 #26205C #5C2038
split-complementary
#565C20 #20385C #44205C
monochromatic
#151708 #2C2F10 #565C20 #808930 #ABB740

Accessibility & contrast

On white

7.12
#565C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#565C20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565C20
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565C20#FFFFFF#000000##FFFFFF
##565C201.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635719
Deuteranopia (green-blind)
#625824
Tritanopia (blue-blind)
#5C574F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #565c20;
/* rgb */ color: rgb(86, 92, 32);
/* oklch */ color: oklch(45.6% 0.083 114.5);
Tailwind
colors: {
  custom: {
    50: '#878a5e',
    500: '#565c20',
    950: '#000000',
  },
}
SCSS
$custom: #565c20;
$custom-light: #878a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#565c20",
  "rgb": {
    "r": 86,
    "g": 92,
    "b": 32
  },
  "hsl": {
    "h": 66,
    "s": 48.387,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45606,
    "c": 0.0826,
    "h": 114.5
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#565C20
secondary
#4F4790
accent
#50D85D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #565C20

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

Preview Lab → · Contrast checker → · Palette generator →

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