Skip to content

#aec40c

a dark, electric yellow · cool · closest name: yellow

RGB
174, 196, 12
HSL
67°, 89%, 41%
CMYK
11, 0, 94, 23
Luminance
0.4851

Every format

HEX#aec40c
RGBrgb(174, 196, 12)
HSLhsl(67, 89%, 41%)
CMYKcmyk(11%, 0%, 94%, 23%)
LABlab(75.1 -26.9 74.3)
LCHlch(75.1 79.0 109.9)
OKLCHoklch(0.777 0.178 117.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aec40c on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#aec40c on black: 10.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green76.9%
Blue4.7%

CMYK percentages

Cyan11.2%
Magenta0.0%
Yellow93.9%
Key (black)23.1%

Color previews

#aec40c text on a black background

contrast 10.70:1

Card sample

#aec40c text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aec40c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aec40c in the Color Lab