Skip to content

#aeba2f

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

RGB
174, 186, 47
HSL
65°, 60%, 46%
CMYK
7, 0, 75, 27
Luminance
0.4432

Every format

HEX#aeba2f
RGBrgb(174, 186, 47)
HSLhsl(65, 60%, 46%)
CMYKcmyk(7%, 0%, 75%, 27%)
LABlab(72.4 -21.0 64.2)
LCHlch(72.4 67.5 108.2)
OKLCHoklch(0.755 0.155 114.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aeba2f on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#aeba2f on black: 9.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green72.9%
Blue18.4%

CMYK percentages

Cyan6.5%
Magenta0.0%
Yellow74.7%
Key (black)27.1%

Color previews

#aeba2f text on a black background

contrast 9.86:1

Card sample

#aeba2f text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aeba2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aeba2f in the Color Lab