Skip to content

#aaef1f

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

RGB
170, 239, 31
HSL
80°, 87%, 53%
CMYK
29, 0, 87, 6
Luminance
0.7038

At a glance

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

Hex
#aaef1f
Hue
80°
green
Saturation
87%
electric
Lightness
53%
balanced
Brightness
94%
HSV value
Perceived
81%
weighted brightness
Luminance
0.7038
WCAG relative
Temperature
Warm
42/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.08:1
Closest name
Green Yellow
ΔE2000 3.4
Where it sits
Hue80° of 360°
Saturation87%
Lightness53%
Temperature
Warm ← → Cool42% cool

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

Every format

HEX#aaef1f
RGBrgb(170, 239, 31)
HSLhsl(80, 87%, 53%)
CMYKcmyk(29%, 0%, 87%, 6%)
LABlab(87.2 -47.4 81.0)
LCHlch(87.2 93.9 120.3)
OKLCHoklch(0.874 0.222 128.1)
Decimal11202335
Display P3color(display-p3 0.667 0.937 0.122)

Copy-ready code

/* CSS */
color: #aaef1f;
background-color: #aaef1f;
/* Tailwind (arbitrary) */
class="text-[#aaef1f] bg-[#aaef1f]"
/* SCSS */
$brand: #aaef1f;
/* SwiftUI */
Color(red: 0.667, green: 0.937, blue: 0.122)
/* Android */
Color.parseColor("#aaef1f")
/* Flutter */
Color(0xFFAAEF1F)
/* Python / OpenCV (BGR) */
(31, 239, 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 #aaef1f · 15.08:1
Use #000000AAA at every size.
Aa
White text · 1.39:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.08:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #aaef1f as text scores 1.39:1 on white and 15.08:1 on black.

Accessibility — WCAG contrast

Aa
#aaef1f on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#aaef1f on black: 15.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FBDD00
deuteranopia · #F2D93C
tritanopia · #B0E4CC

Color scale — 50 to 950

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

#F9FDF2
#F3FAE5
#E6F7C4
#D7F896
#C3F462
#aaef1f
#9EE510
#84BE0E
#69980B
#4E6E0C
#314508
Base = 500Lightest = 50 · #F9FDF2Darkest = 950 · #314508
:root {
  --brand-50: #F9FDF2;
  --brand-100: #F3FAE5;
  --brand-200: #E6F7C4;
  --brand-300: #D7F896;
  --brand-400: #C3F462;
  --brand-500: #aaef1f;
  --brand-600: #9EE510;
  --brand-700: #84BE0E;
  --brand-800: #69980B;
  --brand-900: #4E6E0C;
  --brand-950: #314508;
  --brand: #aaef1f;
  --brand-ink: #000000;
}

Colors that work with #aaef1f

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#DEEDC0
Hairlines and dividers
Muted text#809B4B
Captions on the surface
Accent#2C1AF4
Second voice, not a rival
Dark variant#527708
Hover, pressed, headers
Light variant#F6FDE7
Selected rows, tints
Dark surface#1F2414
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 #aaef1f

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#641FEF
Analogous left#EFCC1F
Analogous right#42EF1F
Split-complement 1#1F42EF
Split-complement 2#CC1FEF
Triadic 1#1FAAEF
Triadic 2#EF1FAA
Tetradic#1FEFCC

RGB percentages

Red66.7%
Green93.7%
Blue12.2%

CMYK percentages

Cyan28.9%
Magenta0.0%
Yellow87.0%
Key (black)6.3%

Color previews

#aaef1f text on a black background

contrast 15.08:1

Card sample

#aaef1f text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(170, 239, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 239, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aaef1f;
background: linear-gradient(135deg, #aaef1f, #1FEF1F);

Monochromatic scale

Palettes built from #aaef1f

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.

#aaef1f 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.

#aaef1f, answered

What color is #aaef1f?

#aaef1f is a balanced electric green, closest to Green Yellow (ΔE2000 3.4). It sits at 80° on the hue wheel with 87% saturation and 53% lightness, which reads as warm.

What is the RGB value of #aaef1f?

rgb(170, 239, 31) — 170 red, 239 green and 31 blue out of 255, or 66.7% / 93.7% / 12.2% by channel.

Is #aaef1f a light or a dark color?

It is a light color. Relative luminance is 0.7038 and perceived brightness is 81%, so black text on it reaches 15.08:1.

Should I use black or white text on #aaef1f?

Black. It scores 15.08:1 against #aaef1f, versus 1.39:1 for white — AAA at any size.

What is the complementary color of #aaef1f?

#641FEF sits directly opposite on the wheel. Softer options are the split-complements #1F42EF and #CC1FEF, which give the same contrast with far less vibration.

What colors go well with #aaef1f?

For interface work: #F8FAF4 as the surface, #DEEDC0 for borders, #809B4B for secondary text, #2C1AF4 as an accent and #527708 for hover and pressed states. For a palette, the analogous pair #EFCC1F and #42EF1F stays calm, while #641FEF is the loudest partner.

What is #aaef1f in CMYK for printing?

cmyk(29%, 0%, 87%, 6%). 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 #aaef1f warm or cool?

Warm — it scores 42 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EFE81F; nudged cooler, #5DF11C.

Work with #aaef1f in the Color Lab