Skip to content

#9aa921

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

RGB
154, 169, 33
HSL
67°, 67%, 40%
CMYK
9, 0, 81, 34
Luminance
0.3536

Every format

HEX#9aa921
RGBrgb(154, 169, 33)
HSLhsl(67, 67%, 40%)
CMYKcmyk(9%, 0%, 81%, 34%)
LABlab(66.0 -21.7 62.1)
LCHlch(66.0 65.8 109.3)
OKLCHoklch(0.700 0.150 116.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9aa921 on white: 2.60:1
AA ✗ fail · AA-large · AAA
Aa
#9aa921 on black: 8.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.4%
Green66.3%
Blue12.9%

CMYK percentages

Cyan8.9%
Magenta0.0%
Yellow80.5%
Key (black)33.7%

Color previews

#9aa921 text on a black background

contrast 8.07:1

Card sample

#9aa921 text on a white background

contrast 2.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(154, 169, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(154, 169, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9aa921;
background: linear-gradient(135deg, #9aa921, #3FA921);

Monochromatic scale

Palettes built from #9aa921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9aa921 in the Color Lab