Skip to content

#acaf39

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

RGB
172, 175, 57
HSL
62°, 51%, 46%
CMYK
2, 0, 67, 31
Luminance
0.3973

Every format

HEX#acaf39
RGBrgb(172, 175, 57)
HSLhsl(62, 51%, 46%)
CMYKcmyk(2%, 0%, 67%, 31%)
LABlab(69.3 -15.8 57.4)
LCHlch(69.3 59.6 105.4)
OKLCHoklch(0.730 0.138 110.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acaf39 on white: 2.35:1
AA ✗ fail · AA-large · AAA
Aa
#acaf39 on black: 8.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green68.6%
Blue22.4%

CMYK percentages

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

Color previews

#acaf39 text on a black background

contrast 8.95:1

Card sample

#acaf39 text on a white background

contrast 2.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acaf39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acaf39 in the Color Lab