Skip to content

#aebc2f

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

RGB
174, 188, 47
HSL
66°, 60%, 46%
CMYK
7, 0, 75, 26
Luminance
0.4517

Every format

HEX#aebc2f
RGBrgb(174, 188, 47)
HSLhsl(66, 60%, 46%)
CMYKcmyk(7%, 0%, 75%, 26%)
LABlab(73.0 -22.0 64.7)
LCHlch(73.0 68.4 108.8)
OKLCHoklch(0.760 0.158 115.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aebc2f on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#aebc2f on black: 10.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green73.7%
Blue18.4%

CMYK percentages

Cyan7.4%
Magenta0.0%
Yellow75.0%
Key (black)26.3%

Color previews

#aebc2f text on a black background

contrast 10.03:1

Card sample

#aebc2f text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aebc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aebc2f in the Color Lab