#a0fb21
a balanced, electric green · neutral · closest name: Green Yellow
At a glance
Every number on this page in one read: what #a0fb21 is made of, how bright it looks, and which way it leans.
Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #a0fb21 |
| RGB | rgb(160, 251, 33) |
| HSL | hsl(85, 97%, 56%) |
| CMYK | cmyk(36%, 0%, 87%, 2%) |
| LAB | lab(90.1 -55.8 82.9) |
| LCH | lch(90.1 100.0 123.9) |
| OKLCH | oklch(0.896 0.240 131.5) |
| Decimal | 10550049 |
| Display P3 | color(display-p3 0.627 0.984 0.129) |
Copy-ready code
/* CSS */
color: #a0fb21;
background-color: #a0fb21;
/* Tailwind (arbitrary) */
class="text-[#a0fb21] bg-[#a0fb21]"
/* SCSS */
$brand: #a0fb21;
/* SwiftUI */
Color(red: 0.627, green: 0.984, blue: 0.129)
/* Android */
Color.parseColor("#a0fb21")
/* Flutter */
Color(0xFFA0FB21)
/* Python / OpenCV (BGR) */
(33, 251, 160)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. #a0fb21 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: #F8FDF1;
--brand-100: #F2FCE4;
--brand-200: #E3FBC1;
--brand-300: #D0FD91;
--brand-400: #B8FC5A;
--brand-500: #a0fb21;
--brand-600: #8EF104;
--brand-700: #76C804;
--brand-800: #5FA003;
--brand-900: #467407;
--brand-950: #2C4804;
--brand: #a0fb21;
--brand-ink: #000000;
}Colors that work with #a0fb21
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 #a0fb21
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 | #7C21FB | Directly opposite — maximum tension | |
| Analogous left | #FBE921 | Neighbour, quieter | |
| Analogous right | #33FB21 | Neighbour, quieter | |
| Split-complement 1 | #2133FB | Contrast without the clash | |
| Split-complement 2 | #E921FB | Contrast without the clash | |
| Triadic 1 | #21A0FB | Even thirds — balanced and loud | |
| Triadic 2 | #FB21A0 | Even thirds — balanced and loud | |
| Tetradic | #21FBE9 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#a0fb21 text on a black background
contrast 16.32:1
#a0fb21 text on a white background
contrast 1.29:1
CSS3 live lab
The quick brown fox
color: #a0fb21;
background-color: #a0fb21;
Glowing headline
text-shadow: 2px 2px 8px #a0fb21;
Soft neon halo
text-shadow: 0 0 14px rgba(160, 251, 33, 0.45);
box-shadow: 0 12px 32px -8px rgba(160, 251, 33, 0.45);
border: 3px solid #a0fb21; background: linear-gradient(135deg, #a0fb21, #21FB33);
Monochromatic scale
Palettes built from #a0fb21
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 1.4 away, with its history, psychology and brand usage.
#a0fb21 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.
#a0fb21, answered
What color is #a0fb21?
#a0fb21 is a balanced electric green, closest to Green Yellow (ΔE2000 1.5). It sits at 85° on the hue wheel with 97% saturation and 56% lightness, which reads as neutral.
What is the RGB value of #a0fb21?
rgb(160, 251, 33) — 160 red, 251 green and 33 blue out of 255, or 62.7% / 98.4% / 12.9% by channel.
Is #a0fb21 a light or a dark color?
It is a light color. Relative luminance is 0.7658 and perceived brightness is 83%, so black text on it reaches 16.32:1.
Should I use black or white text on #a0fb21?
Black. It scores 16.32:1 against #a0fb21, versus 1.29:1 for white — AAA at any size.
What is the complementary color of #a0fb21?
#7C21FB sits directly opposite on the wheel. Softer options are the split-complements #2133FB and #E921FB, which give the same contrast with far less vibration.
What colors go well with #a0fb21?
For interface work: #F8FAF4 as the surface, #DAEDC0 for borders, #799B4B for secondary text, #431DFF as an accent and #4A7D02 for hover and pressed states. For a palette, the analogous pair #FBE921 and #33FB21 stays calm, while #7C21FB is the loudest partner.
What is #a0fb21 in CMYK for printing?
cmyk(36%, 0%, 87%, 2%). 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 #a0fb21 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 #F0FB21; nudged cooler, #4FFD1F.