Skip to content

#acaf40

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

RGB
172, 175, 64
HSL
62°, 46%, 47%
CMYK
2, 0, 63, 31
Luminance
0.3980

Every format

HEX#acaf40
RGBrgb(172, 175, 64)
HSLhsl(62, 46%, 47%)
CMYKcmyk(2%, 0%, 63%, 31%)
LABlab(69.3 -15.4 54.6)
LCHlch(69.3 56.7 105.8)
OKLCHoklch(0.730 0.133 110.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green68.6%
Blue25.1%

CMYK percentages

Cyan1.7%
Magenta0.0%
Yellow63.4%
Key (black)31.4%

Color previews

#acaf40 text on a black background

contrast 8.96:1

Card sample

#acaf40 text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acaf40

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acaf40 in the Color Lab