Skip to content

#a4b261

a balanced, soft green · cool · closest name: olivedrab

RGB
164, 178, 97
HSL
70°, 35%, 54%
CMYK
8, 0, 46, 30
Luminance
0.4060

Every format

HEX#a4b261
RGBrgb(164, 178, 97)
HSLhsl(70, 35%, 54%)
CMYKcmyk(8%, 0%, 46%, 30%)
LABlab(69.9 -17.4 39.6)
LCHlch(69.9 43.3 113.8)
OKLCHoklch(0.734 0.107 117.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a4b261 on white: 2.30:1
AA ✗ fail · AA-large · AAA
Aa
#a4b261 on black: 9.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.3%
Green69.8%
Blue38.0%

CMYK percentages

Cyan7.9%
Magenta0.0%
Yellow45.5%
Key (black)30.2%

Color previews

#a4b261 text on a black background

contrast 9.12:1

Card sample

#a4b261 text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(164, 178, 97, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(164, 178, 97, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a4b261;
background: linear-gradient(135deg, #a4b261, #6EB261);

Monochromatic scale

Palettes built from #a4b261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a4b261 in the Color Lab