Skip to content

#565f21

a dark, vivid yellow · cool · closest name: olive

RGB
86, 95, 33
HSL
69°, 48%, 25%
CMYK
10, 0, 65, 63
Luminance
0.1027

Every format

HEX#565f21
RGBrgb(86, 95, 33)
HSLhsl(69, 48%, 25%)
CMYKcmyk(10%, 0%, 65%, 63%)
LABlab(38.3 -13.2 33.3)
LCHlch(38.3 35.9 111.6)
OKLCHoklch(0.464 0.086 116.8)

Copy-ready code

/* CSS */
color: #565f21;
background-color: #565f21;
/* Tailwind (arbitrary) */
class="text-[#565f21] bg-[#565f21]"
/* SCSS */
$brand: #565f21;
/* SwiftUI */
Color(red: 0.337, green: 0.373, blue: 0.129)
/* Android */
Color.parseColor("#565f21")

Accessibility — WCAG contrast

Aa
#565f21 on white: 6.88:1
AA ✓ pass · AA-large · AAA
Aa
#565f21 on black: 3.05:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red33.7%
Green37.3%
Blue12.9%

CMYK percentages

Cyan9.5%
Magenta0.0%
Yellow65.3%
Key (black)62.7%

Color previews

#565f21 text on a black background

contrast 3.05:1

Card sample

#565f21 text on a white background

contrast 6.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #565f21;
Background color
Panel with #565f21 background
background-color: #565f21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #565f21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(86, 95, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 95, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #565f21;
background: linear-gradient(135deg, #565f21, #2D5F21);

Monochromatic scale

Palettes built from #565f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #565f21 in the Color Lab