Skip to content

#acaf08

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

RGB
172, 175, 8
HSL
61°, 91%, 36%
CMYK
2, 0, 95, 31
Luminance
0.3945

Every format

HEX#acaf08
RGBrgb(172, 175, 8)
HSLhsl(61, 91%, 36%)
CMYKcmyk(2%, 0%, 95%, 31%)
LABlab(69.1 -17.5 70.0)
LCHlch(69.1 72.2 104.0)
OKLCHoklch(0.727 0.159 111.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green68.6%
Blue3.1%

CMYK percentages

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

Color previews

#acaf08 text on a black background

contrast 8.89:1

Card sample

#acaf08 text on a white background

contrast 2.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acaf08

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acaf08 in the Color Lab