Skip to content

#abaf49

a balanced, soft yellow · cool · closest name: olive

RGB
171, 175, 73
HSL
62°, 41%, 49%
CMYK
2, 0, 58, 31
Luminance
0.3980

Every format

HEX#abaf49
RGBrgb(171, 175, 73)
HSLhsl(62, 41%, 49%)
CMYKcmyk(2%, 0%, 58%, 31%)
LABlab(69.3 -15.2 50.6)
LCHlch(69.3 52.9 106.7)
OKLCHoklch(0.730 0.125 111.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abaf49 on white: 2.34:1
AA ✗ fail · AA-large · AAA
Aa
#abaf49 on black: 8.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green68.6%
Blue28.6%

CMYK percentages

Cyan2.3%
Magenta0.0%
Yellow58.3%
Key (black)31.4%

Color previews

#abaf49 text on a black background

contrast 8.96:1

Card sample

#abaf49 text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 175, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 175, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abaf49;
background: linear-gradient(135deg, #abaf49, #67AF49);

Monochromatic scale

Palettes built from #abaf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abaf49 in the Color Lab