Skip to content

#aeba48

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

RGB
174, 186, 72
HSL
66°, 45%, 51%
CMYK
7, 0, 61, 27
Luminance
0.4458

Every format

HEX#aeba48
RGBrgb(174, 186, 72)
HSLhsl(66, 45%, 51%)
CMYKcmyk(7%, 0%, 61%, 27%)
LABlab(72.6 -19.6 54.7)
LCHlch(72.6 58.1 109.7)
OKLCHoklch(0.757 0.138 114.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aeba48 on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#aeba48 on black: 9.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green72.9%
Blue28.2%

CMYK percentages

Cyan6.5%
Magenta0.0%
Yellow61.3%
Key (black)27.1%

Color previews

#aeba48 text on a black background

contrast 9.92:1

Card sample

#aeba48 text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aeba48

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aeba48 in the Color Lab