Skip to content

#acc721

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

RGB
172, 199, 33
HSL
70°, 72%, 46%
CMYK
14, 0, 83, 22
Luminance
0.4973

Every format

HEX#acc721
RGBrgb(172, 199, 33)
HSLhsl(70, 72%, 46%)
CMYKcmyk(14%, 0%, 83%, 22%)
LABlab(75.9 -28.7 71.2)
LCHlch(75.9 76.8 112.0)
OKLCHoklch(0.782 0.176 119.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acc721 on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#acc721 on black: 10.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green78.0%
Blue12.9%

CMYK percentages

Cyan13.6%
Magenta0.0%
Yellow83.4%
Key (black)22.0%

Color previews

#acc721 text on a black background

contrast 10.95:1

Card sample

#acc721 text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acc721

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acc721 in the Color Lab