Skip to content

#aecf2f

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

RGB
174, 207, 47
HSL
72°, 63%, 50%
CMYK
16, 0, 77, 19
Luminance
0.5383

Every format

HEX#aecf2f
RGBrgb(174, 207, 47)
HSLhsl(72, 63%, 50%)
CMYKcmyk(16%, 0%, 77%, 19%)
LABlab(78.4 -31.2 69.7)
LCHlch(78.4 76.3 114.1)
OKLCHoklch(0.803 0.179 121.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aecf2f on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#aecf2f on black: 11.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green81.2%
Blue18.4%

CMYK percentages

Cyan15.9%
Magenta0.0%
Yellow77.3%
Key (black)18.8%

Color previews

#aecf2f text on a black background

contrast 11.77:1

Card sample

#aecf2f text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aecf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aecf2f in the Color Lab