Skip to content

#acaf28

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

RGB
172, 175, 40
HSL
61°, 63%, 42%
CMYK
2, 0, 77, 31
Luminance
0.3958

Every format

HEX#acaf28
RGBrgb(172, 175, 40)
HSLhsl(61, 63%, 42%)
CMYKcmyk(2%, 0%, 77%, 31%)
LABlab(69.2 -16.7 63.4)
LCHlch(69.2 65.5 104.7)
OKLCHoklch(0.729 0.148 110.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acaf28 on white: 2.36:1
AA ✗ fail · AA-large · AAA
Aa
#acaf28 on black: 8.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green68.6%
Blue15.7%

CMYK percentages

Cyan1.7%
Magenta0.0%
Yellow77.1%
Key (black)31.4%

Color previews

#acaf28 text on a black background

contrast 8.92:1

Card sample

#acaf28 text on a white background

contrast 2.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 175, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 175, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acaf28;
background: linear-gradient(135deg, #acaf28, #52AF28);

Monochromatic scale

Palettes built from #acaf28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acaf28 in the Color Lab