Skip to content

#aaec4f

a balanced, electric green · neutral · closest name: Green Yellow

RGB
170, 236, 79
HSL
85°, 81%, 62%
CMYK
28, 0, 67, 8
Luminance
0.6910

At a glance

Every number on this page in one read: what #aaec4f is made of, how bright it looks, and which way it leans.

Hex
#aaec4f
Hue
85°
green
Saturation
81%
electric
Lightness
62%
balanced
Brightness
93%
HSV value
Perceived
80%
weighted brightness
Luminance
0.6910
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.82:1
Closest name
Green Yellow
ΔE2000 4.9
Where it sits
Hue85° of 360°
Saturation81%
Lightness62%
Temperature
Warm ← → Cool46% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#aaec4f
RGBrgb(170, 236, 79)
HSLhsl(85, 81%, 62%)
CMYKcmyk(28%, 0%, 67%, 8%)
LABlab(86.5 -43.9 66.6)
LCHlch(86.5 79.8 123.4)
OKLCHoklch(0.869 0.196 129.4)
Decimal11201615
Display P3color(display-p3 0.667 0.925 0.310)

Copy-ready code

/* CSS */
color: #aaec4f;
background-color: #aaec4f;
/* Tailwind (arbitrary) */
class="text-[#aaec4f] bg-[#aaec4f]"
/* SCSS */
$brand: #aaec4f;
/* SwiftUI */
Color(red: 0.667, green: 0.925, blue: 0.310)
/* Android */
Color.parseColor("#aaec4f")
/* Flutter */
Color(0xFFAAEC4F)
/* Python / OpenCV (BGR) */
(79, 236, 170)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #aaec4f · 14.82:1
Use #000000AAA at every size.
Aa
White text · 1.42:1
AA fail · AA large fail · AAA fail
Aa
Black text · 14.82:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #aaec4f as text scores 1.42:1 on white and 14.82:1 on black.

Accessibility — WCAG contrast

Aa
#aaec4f on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#aaec4f on black: 14.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F7DC39
deuteranopia · #EED75C
tritanopia · #AFE2CC

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #aaec4f is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F8FCF3
#F1F9E6
#E2F5C6
#CEF49A
#aaec4f
#9DE934
#8ADD18
#73B814
#5C9310
#446B10
#2B430A
Base = 400Lightest = 50 · #F8FCF3Darkest = 950 · #2B430A
:root {
  --brand-50: #F8FCF3;
  --brand-100: #F1F9E6;
  --brand-200: #E2F5C6;
  --brand-300: #CEF49A;
  --brand-400: #aaec4f;
  --brand-500: #9DE934;
  --brand-600: #8ADD18;
  --brand-700: #73B814;
  --brand-800: #5C9310;
  --brand-900: #446B10;
  --brand-950: #2B430A;
  --brand: #aaec4f;
  --brand-ink: #000000;
}

Colors that work with #aaec4f

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F8FAF4
Tinted page background
Border#DAEDC0
Hairlines and dividers
Muted text#799B4B
Captions on the surface
Accent#674BF0
Second voice, not a rival
Dark variant#48730C
Hover, pressed, headers
Light variant#F4FDE8
Selected rows, tints
Dark surface#1D2414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #aaec4f

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#914FEC
Analogous left#ECDF4F
Analogous right#5CEC4F
Split-complement 1#4F5CEC
Split-complement 2#DF4FEC
Triadic 1#4FAAEC
Triadic 2#EC4FAA
Tetradic#4FECDF

RGB percentages

Red66.7%
Green92.5%
Blue31.0%

CMYK percentages

Cyan28.0%
Magenta0.0%
Yellow66.5%
Key (black)7.5%

Color previews

#aaec4f text on a black background

contrast 14.82:1

Card sample

#aaec4f text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(170, 236, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 236, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aaec4f;
background: linear-gradient(135deg, #aaec4f, #4FEC5D);

Monochromatic scale

Palettes built from #aaec4f

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#aaec4f in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#aaec4f, answered

What color is #aaec4f?

#aaec4f is a balanced electric green, closest to Green Yellow (ΔE2000 4.9). It sits at 85° on the hue wheel with 81% saturation and 62% lightness, which reads as neutral.

What is the RGB value of #aaec4f?

rgb(170, 236, 79) — 170 red, 236 green and 79 blue out of 255, or 66.7% / 92.5% / 31% by channel.

Is #aaec4f a light or a dark color?

It is a light color. Relative luminance is 0.6910 and perceived brightness is 80%, so black text on it reaches 14.82:1.

Should I use black or white text on #aaec4f?

Black. It scores 14.82:1 against #aaec4f, versus 1.42:1 for white — AAA at any size.

What is the complementary color of #aaec4f?

#914FEC sits directly opposite on the wheel. Softer options are the split-complements #4F5CEC and #DF4FEC, which give the same contrast with far less vibration.

What colors go well with #aaec4f?

For interface work: #F8FAF4 as the surface, #DAEDC0 for borders, #799B4B for secondary text, #674BF0 as an accent and #48730C for hover and pressed states. For a palette, the analogous pair #ECDF4F and #5CEC4F stays calm, while #914FEC is the loudest partner.

What is #aaec4f in CMYK for printing?

cmyk(28%, 0%, 67%, 8%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #aaec4f warm or cool?

Neutral — it scores 46 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E4EC4F; nudged cooler, #70EE4D.

Work with #aaec4f in the Color Lab