Skip to content

#aeba2d

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

RGB
174, 186, 45
HSL
65°, 61%, 45%
CMYK
7, 0, 76, 27
Luminance
0.4431

Every format

HEX#aeba2d
RGBrgb(174, 186, 45)
HSLhsl(65, 61%, 45%)
CMYKcmyk(7%, 0%, 76%, 27%)
LABlab(72.4 -21.1 64.8)
LCHlch(72.4 68.2 108.1)
OKLCHoklch(0.755 0.156 114.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.2%
Green72.9%
Blue17.6%

CMYK percentages

Cyan6.5%
Magenta0.0%
Yellow75.8%
Key (black)27.1%

Color previews

#aeba2d text on a black background

contrast 9.86:1

Card sample

#aeba2d text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aeba2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aeba2d in the Color Lab