Skip to content

#aeaf2d

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

RGB
174, 175, 45
HSL
61°, 59%, 43%
CMYK
1, 0, 74, 31
Luminance
0.3985

Every format

HEX#aeaf2d
RGBrgb(174, 175, 45)
HSLhsl(61, 59%, 43%)
CMYKcmyk(1%, 0%, 74%, 31%)
LABlab(69.4 -15.6 62.0)
LCHlch(69.4 63.9 104.1)
OKLCHoklch(0.731 0.145 110.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.2%
Green68.6%
Blue17.6%

CMYK percentages

Cyan0.6%
Magenta0.0%
Yellow74.3%
Key (black)31.4%

Color previews

#aeaf2d text on a black background

contrast 8.97:1

Card sample

#aeaf2d text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aeaf2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aeaf2d in the Color Lab