Skip to content

#aecb21

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

RGB
174, 203, 33
HSL
70°, 72%, 46%
CMYK
14, 0, 84, 20
Luminance
0.5182

Every format

HEX#aecb21
RGBrgb(174, 203, 33)
HSLhsl(70, 72%, 46%)
CMYKcmyk(14%, 0%, 84%, 20%)
LABlab(77.2 -29.8 72.3)
LCHlch(77.2 78.2 112.4)
OKLCHoklch(0.793 0.180 119.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aecb21 on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#aecb21 on black: 11.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green79.6%
Blue12.9%

CMYK percentages

Cyan14.3%
Magenta0.0%
Yellow83.7%
Key (black)20.4%

Color previews

#aecb21 text on a black background

contrast 11.36:1

Card sample

#aecb21 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(174, 203, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 203, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aecb21;
background: linear-gradient(135deg, #aecb21, #3DCB21);

Monochromatic scale

Palettes built from #aecb21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aecb21 in the Color Lab