Skip to content

#417220

a dark, vivid green · cool · closest name: olivedrab

RGB
65, 114, 32
HSL
96°, 56%, 29%
CMYK
43, 0, 72, 55
Luminance
0.1326

Every format

HEX#417220
RGBrgb(65, 114, 32)
HSLhsl(96, 56%, 29%)
CMYKcmyk(43%, 0%, 72%, 55%)
LABlab(43.2 -31.8 38.5)
LCHlch(43.2 49.9 129.5)
OKLCHoklch(0.499 0.124 135.3)

Copy-ready code

/* CSS */
color: #417220;
background-color: #417220;
/* Tailwind (arbitrary) */
class="text-[#417220] bg-[#417220]"
/* SCSS */
$brand: #417220;
/* SwiftUI */
Color(red: 0.255, green: 0.447, blue: 0.125)
/* Android */
Color.parseColor("#417220")

Accessibility — WCAG contrast

Aa
#417220 on white: 5.75:1
AA ✓ pass · AA-large · AAA
Aa
#417220 on black: 3.65:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.5%
Green44.7%
Blue12.5%

CMYK percentages

Cyan43.0%
Magenta0.0%
Yellow71.9%
Key (black)55.3%

Color previews

#417220 text on a black background

contrast 3.65:1

Card sample

#417220 text on a white background

contrast 5.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(65, 114, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(65, 114, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #417220;
background: linear-gradient(135deg, #417220, #207236);

Monochromatic scale

Palettes built from #417220

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #417220 in the Color Lab