Skip to content

#aabf39

a balanced, vivid yellow · cool · closest name: olivedrab

RGB
170, 191, 57
HSL
69°, 54%, 49%
CMYK
11, 0, 70, 25
Luminance
0.4610

Every format

HEX#aabf39
RGBrgb(170, 191, 57)
HSLhsl(69, 54%, 49%)
CMYKcmyk(11%, 0%, 70%, 25%)
LABlab(73.6 -24.7 61.7)
LCHlch(73.6 66.5 111.8)
OKLCHoklch(0.764 0.156 118.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aabf39 on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#aabf39 on black: 10.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green74.9%
Blue22.4%

CMYK percentages

Cyan11.0%
Magenta0.0%
Yellow70.2%
Key (black)25.1%

Color previews

#aabf39 text on a black background

contrast 10.22:1

Card sample

#aabf39 text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(170, 191, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 191, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aabf39;
background: linear-gradient(135deg, #aabf39, #51BF39);

Monochromatic scale

Palettes built from #aabf39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aabf39 in the Color Lab