Skip to content

#acaf3f

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

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

Every format

HEX#acaf3f
RGBrgb(172, 175, 63)
HSLhsl(62, 47%, 47%)
CMYKcmyk(2%, 0%, 64%, 31%)
LABlab(69.3 -15.5 55.0)
LCHlch(69.3 57.1 105.7)
OKLCHoklch(0.730 0.133 110.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green68.6%
Blue24.7%

CMYK percentages

Cyan1.7%
Magenta0.0%
Yellow64.0%
Key (black)31.4%

Color previews

#acaf3f text on a black background

contrast 8.96:1

Card sample

#acaf3f text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acaf3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acaf3f in the Color Lab