Skip to content

#aeac2f

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

RGB
174, 172, 47
HSL
59°, 58%, 43%
CMYK
0, 1, 73, 32
Luminance
0.3871

Every format

HEX#aeac2f
RGBrgb(174, 172, 47)
HSLhsl(59, 58%, 43%)
CMYKcmyk(0%, 1%, 73%, 32%)
LABlab(68.5 -14.0 60.5)
LCHlch(68.5 62.1 103.0)
OKLCHoklch(0.724 0.141 108.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aeac2f on white: 2.40:1
AA ✗ fail · AA-large · AAA
Aa
#aeac2f on black: 8.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green67.5%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta1.1%
Yellow73.0%
Key (black)31.8%

Color previews

#aeac2f text on a black background

contrast 8.74:1

Card sample

#aeac2f text on a white background

contrast 2.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aeac2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aeac2f in the Color Lab