Skip to content

#acec40

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

RGB
172, 236, 64
HSL
82°, 82%, 59%
CMYK
27, 0, 73, 8
Luminance
0.6913

At a glance

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

Hex
#acec40
Hue
82°
green
Saturation
82%
electric
Lightness
59%
balanced
Brightness
93%
HSV value
Perceived
80%
weighted brightness
Luminance
0.6913
WCAG relative
Temperature
Neutral
44/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.83:1
Closest name
Green Yellow
ΔE2000 4.3
Where it sits
Hue82° of 360°
Saturation82%
Lightness59%
Temperature
Warm ← → Cool44% 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#acec40
RGBrgb(172, 236, 64)
HSLhsl(82, 82%, 59%)
CMYKcmyk(27%, 0%, 73%, 8%)
LABlab(86.6 -44.1 72.0)
LCHlch(86.6 84.5 121.5)
OKLCHoklch(0.869 0.204 128.2)
Decimal11332672
Display P3color(display-p3 0.675 0.925 0.251)

Copy-ready code

/* CSS */
color: #acec40;
background-color: #acec40;
/* Tailwind (arbitrary) */
class="text-[#acec40] bg-[#acec40]"
/* SCSS */
$brand: #acec40;
/* SwiftUI */
Color(red: 0.675, green: 0.925, blue: 0.251)
/* Android */
Color.parseColor("#acec40")
/* Flutter */
Color(0xFFACEC40)
/* Python / OpenCV (BGR) */
(64, 236, 172)

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 #acec40 · 14.83:1
Use #000000AAA at every size.
Aa
White text · 1.42:1
AA fail · AA large fail · AAA fail
Aa
Black text · 14.83:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #acec40 as text scores 1.42:1 on white and 14.83:1 on black.

Accessibility — WCAG contrast

Aa
#acec40 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#acec40 on black: 14.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F8DB1D
deuteranopia · #EFD750
tritanopia · #B2E1CB

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #acec40 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.

#F9FCF2
#F2F9E6
#E4F6C6
#D3F599
#BDF066
#acec40
#94DF16
#7BBA12
#63940F
#496B0F
#2E4309
Base = 500Lightest = 50 · #F9FCF2Darkest = 950 · #2E4309
:root {
  --brand-50: #F9FCF2;
  --brand-100: #F2F9E6;
  --brand-200: #E4F6C6;
  --brand-300: #D3F599;
  --brand-400: #BDF066;
  --brand-500: #acec40;
  --brand-600: #94DF16;
  --brand-700: #7BBA12;
  --brand-800: #63940F;
  --brand-900: #496B0F;
  --brand-950: #2E4309;
  --brand: #acec40;
  --brand-ink: #000000;
}

Colors that work with #acec40

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#DCEDC0
Hairlines and dividers
Muted text#7D9B4B
Captions on the surface
Accent#523CF0
Second voice, not a rival
Dark variant#4D740C
Hover, pressed, headers
Light variant#F5FDE8
Selected rows, tints
Dark surface#1E2414
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 #acec40

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#8040EC
Analogous left#ECD640
Analogous right#56EC40
Split-complement 1#4056EC
Split-complement 2#D640EC
Triadic 1#40ACEC
Triadic 2#EC40AC
Tetradic#40ECD6

RGB percentages

Red67.5%
Green92.5%
Blue25.1%

CMYK percentages

Cyan27.1%
Magenta0.0%
Yellow72.9%
Key (black)7.5%

Color previews

#acec40 text on a black background

contrast 14.83:1

Card sample

#acec40 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 236, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 236, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acec40;
background: linear-gradient(135deg, #acec40, #40EC46);

Monochromatic scale

Palettes built from #acec40

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.

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

#acec40, answered

What color is #acec40?

#acec40 is a balanced electric green, closest to Green Yellow (ΔE2000 4.3). It sits at 82° on the hue wheel with 82% saturation and 59% lightness, which reads as neutral.

What is the RGB value of #acec40?

rgb(172, 236, 64) — 172 red, 236 green and 64 blue out of 255, or 67.5% / 92.5% / 25.1% by channel.

Is #acec40 a light or a dark color?

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

Should I use black or white text on #acec40?

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

What is the complementary color of #acec40?

#8040EC sits directly opposite on the wheel. Softer options are the split-complements #4056EC and #D640EC, which give the same contrast with far less vibration.

What colors go well with #acec40?

For interface work: #F8FAF4 as the surface, #DCEDC0 for borders, #7D9B4B for secondary text, #523CF0 as an accent and #4D740C for hover and pressed states. For a palette, the analogous pair #ECD640 and #56EC40 stays calm, while #8040EC is the loudest partner.

What is #acec40 in CMYK for printing?

cmyk(27%, 0%, 73%, 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 #acec40 warm or cool?

Neutral — it scores 44 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EBEC40; nudged cooler, #6CEE3E.

Work with #acec40 in the Color Lab