Skip to content

#acaf0f

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

RGB
172, 175, 15
HSL
61°, 84%, 37%
CMYK
2, 0, 91, 31
Luminance
0.3947

Every format

HEX#acaf0f
RGBrgb(172, 175, 15)
HSLhsl(61, 84%, 37%)
CMYKcmyk(2%, 0%, 91%, 31%)
LABlab(69.1 -17.4 69.1)
LCHlch(69.1 71.3 104.1)
OKLCHoklch(0.728 0.157 111.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green68.6%
Blue5.9%

CMYK percentages

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

Color previews

#acaf0f text on a black background

contrast 8.89:1

Card sample

#acaf0f text on a white background

contrast 2.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acaf0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acaf0f in the Color Lab