Skip to content

#aeaf40

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

RGB
174, 175, 64
HSL
61°, 46%, 47%
CMYK
1, 0, 63, 31
Luminance
0.4003

Every format

HEX#aeaf40
RGBrgb(174, 175, 64)
HSLhsl(61, 46%, 47%)
CMYKcmyk(1%, 0%, 63%, 31%)
LABlab(69.5 -14.6 54.8)
LCHlch(69.5 56.7 104.9)
OKLCHoklch(0.732 0.132 109.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aeaf40 on white: 2.33:1
AA ✗ fail · AA-large · AAA
Aa
#aeaf40 on black: 9.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green68.6%
Blue25.1%

CMYK percentages

Cyan0.6%
Magenta0.0%
Yellow63.4%
Key (black)31.4%

Color previews

#aeaf40 text on a black background

contrast 9.01:1

Card sample

#aeaf40 text on a white background

contrast 2.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aeaf40

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aeaf40 in the Color Lab