Skip to content

#645f21

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

RGB
100, 95, 33
HSL
56°, 50%, 26%
CMYK
0, 5, 67, 61
Luminance
0.1100

Every format

HEX#645f21
RGBrgb(100, 95, 33)
HSLhsl(56, 50%, 26%)
CMYKcmyk(0%, 5%, 67%, 61%)
LABlab(39.6 -6.6 35.1)
LCHlch(39.6 35.7 100.6)
OKLCHoklch(0.477 0.083 104.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#645f21 on white: 6.56:1
AA ✓ pass · AA-large · AAA
Aa
#645f21 on black: 3.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red39.2%
Green37.3%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta5.0%
Yellow67.0%
Key (black)60.8%

Color previews

#645f21 text on a black background

contrast 3.20:1

Card sample

#645f21 text on a white background

contrast 6.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #645f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #645f21 in the Color Lab