Skip to content

#abac49

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

RGB
171, 172, 73
HSL
61°, 40%, 48%
CMYK
1, 0, 58, 33
Luminance
0.3864

Every format

HEX#abac49
RGBrgb(171, 172, 73)
HSLhsl(61, 40%, 48%)
CMYKcmyk(1%, 0%, 58%, 33%)
LABlab(68.5 -13.7 49.7)
LCHlch(68.5 51.5 105.4)
OKLCHoklch(0.724 0.122 109.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abac49 on white: 2.41:1
AA ✗ fail · AA-large · AAA
Aa
#abac49 on black: 8.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green67.5%
Blue28.6%

CMYK percentages

Cyan0.6%
Magenta0.0%
Yellow57.6%
Key (black)32.5%

Color previews

#abac49 text on a black background

contrast 8.73:1

Card sample

#abac49 text on a white background

contrast 2.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abac49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abac49 in the Color Lab