#a8ed21
a balanced, electric green · warm · closest name: Green Yellow
At a glance
Every number on this page in one read: what #a8ed21 is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #a8ed21 |
| RGB | rgb(168, 237, 33) |
| HSL | hsl(80, 85%, 53%) |
| CMYK | cmyk(29%, 0%, 86%, 7%) |
| LAB | lab(86.5 -47.3 80.1) |
| LCH | lch(86.5 93.0 120.6) |
| OKLCH | oklch(0.868 0.221 128.2) |
| Decimal | 11070753 |
| Display P3 | color(display-p3 0.659 0.929 0.129) |
Copy-ready code
/* CSS */
color: #a8ed21;
background-color: #a8ed21;
/* Tailwind (arbitrary) */
class="text-[#a8ed21] bg-[#a8ed21]"
/* SCSS */
$brand: #a8ed21;
/* SwiftUI */
Color(red: 0.659, green: 0.929, blue: 0.129)
/* Android */
Color.parseColor("#a8ed21")
/* Flutter */
Color(0xFFA8ED21)
/* Python / OpenCV (BGR) */
(33, 237, 168)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #a8ed21 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.
:root {
--brand-50: #F9FCF2;
--brand-100: #F3FAE5;
--brand-200: #E6F7C5;
--brand-300: #D6F797;
--brand-400: #C2F263;
--brand-500: #a8ed21;
--brand-600: #9CE212;
--brand-700: #82BD0F;
--brand-800: #68970C;
--brand-900: #4D6D0D;
--brand-950: #304408;
--brand: #a8ed21;
--brand-ink: #000000;
}Colors that work with #a8ed21
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #a8ed21
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠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 | #6621ED | Directly opposite — maximum tension | |
| Analogous left | #EDCC21 | Neighbour, quieter | |
| Analogous right | #42ED21 | Neighbour, quieter | |
| Split-complement 1 | #2142ED | Contrast without the clash | |
| Split-complement 2 | #CC21ED | Contrast without the clash | |
| Triadic 1 | #21A8ED | Even thirds — balanced and loud | |
| Triadic 2 | #ED21A8 | Even thirds — balanced and loud | |
| Tetradic | #21EDCC | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#a8ed21 text on a black background
contrast 14.80:1
#a8ed21 text on a white background
contrast 1.42:1
CSS3 live lab
The quick brown fox
color: #a8ed21;
background-color: #a8ed21;
Glowing headline
text-shadow: 2px 2px 8px #a8ed21;
Soft neon halo
text-shadow: 0 0 14px rgba(168, 237, 33, 0.45);
box-shadow: 0 12px 32px -8px rgba(168, 237, 33, 0.45);
border: 3px solid #a8ed21; background: linear-gradient(135deg, #a8ed21, #21ED22);
Monochromatic scale
Palettes built from #a8ed21
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.
Closest color with a full write-up: Spring Bud (#a7fc00) — ΔE2000 3.3 away, with its history, psychology and brand usage.
#a8ed21 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#a8ed21, answered
What color is #a8ed21?
#a8ed21 is a balanced electric green, closest to Green Yellow (ΔE2000 3.8). It sits at 80° on the hue wheel with 85% saturation and 53% lightness, which reads as warm.
What is the RGB value of #a8ed21?
rgb(168, 237, 33) — 168 red, 237 green and 33 blue out of 255, or 65.9% / 92.9% / 12.9% by channel.
Is #a8ed21 a light or a dark color?
It is a light color. Relative luminance is 0.6900 and perceived brightness is 80%, so black text on it reaches 14.80:1.
Should I use black or white text on #a8ed21?
Black. It scores 14.80:1 against #a8ed21, versus 1.42:1 for white — AAA at any size.
What is the complementary color of #a8ed21?
#6621ED sits directly opposite on the wheel. Softer options are the split-complements #2142ED and #CC21ED, which give the same contrast with far less vibration.
What colors go well with #a8ed21?
For interface work: #F8FAF4 as the surface, #DDEDC0 for borders, #809B4B for secondary text, #2F1CF2 as an accent and #51760A for hover and pressed states. For a palette, the analogous pair #EDCC21 and #42ED21 stays calm, while #6621ED is the loudest partner.
What is #a8ed21 in CMYK for printing?
cmyk(29%, 0%, 86%, 7%). 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 #a8ed21 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 #EDE721; nudged cooler, #5CEF1E.