Skip to content

#aeaf2f

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

RGB
174, 175, 47
HSL
61°, 58%, 44%
CMYK
1, 0, 73, 31
Luminance
0.3986

Every format

HEX#aeaf2f
RGBrgb(174, 175, 47)
HSLhsl(61, 58%, 44%)
CMYKcmyk(1%, 0%, 73%, 31%)
LABlab(69.4 -15.5 61.3)
LCHlch(69.4 63.2 104.2)
OKLCHoklch(0.731 0.144 109.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.2%
Green68.6%
Blue18.4%

CMYK percentages

Cyan0.6%
Magenta0.0%
Yellow73.1%
Key (black)31.4%

Color previews

#aeaf2f text on a black background

contrast 8.97:1

Card sample

#aeaf2f text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aeaf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aeaf2f in the Color Lab