Skip to content

#aabb21

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

RGB
170, 187, 33
HSL
67°, 70%, 43%
CMYK
9, 0, 82, 27
Luminance
0.4420

Every format

HEX#aabb21
RGBrgb(170, 187, 33)
HSLhsl(67, 70%, 43%)
CMYKcmyk(9%, 0%, 82%, 27%)
LABlab(72.4 -23.8 68.1)
LCHlch(72.4 72.1 109.2)
OKLCHoklch(0.754 0.164 116.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aabb21 on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#aabb21 on black: 9.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green73.3%
Blue12.9%

CMYK percentages

Cyan9.1%
Magenta0.0%
Yellow82.4%
Key (black)26.7%

Color previews

#aabb21 text on a black background

contrast 9.84:1

Card sample

#aabb21 text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(170, 187, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 187, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aabb21;
background: linear-gradient(135deg, #aabb21, #43BB21);

Monochromatic scale

Palettes built from #aabb21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aabb21 in the Color Lab