#2abc21
a dark, vivid green · cool · closest name: Lime Green
At a glance
Every number on this page in one read: what #2abc21 is made of, how bright it looks, and which way it leans.
Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #2abc21 |
| RGB | rgb(42, 188, 33) |
| HSL | hsl(117, 70%, 43%) |
| CMYK | cmyk(78%, 0%, 82%, 26%) |
| LAB | lab(67.0 -64.1 61.1) |
| LCH | lch(67.0 88.6 136.4) |
| OKLCH | oklch(0.694 0.221 142.2) |
| Decimal | 2800673 |
| Display P3 | color(display-p3 0.165 0.737 0.129) |
Copy-ready code
/* CSS */
color: #2abc21;
background-color: #2abc21;
/* Tailwind (arbitrary) */
class="text-[#2abc21] bg-[#2abc21]"
/* SCSS */
$brand: #2abc21;
/* SwiftUI */
Color(red: 0.165, green: 0.737, blue: 0.129)
/* Android */
Color.parseColor("#2abc21")
/* Flutter */
Color(0xFF2ABC21)
/* Python / OpenCV (BGR) */
(33, 188, 42)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. #2abc21 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F4FCF3;
--brand-100: #E8F8E7;
--brand-200: #CCF2C9;
--brand-300: #A4EEA0;
--brand-400: #77E670;
--brand-500: #49DD40;
--brand-600: #2FD025;
--brand-700: #2abc21;
--brand-800: #1F8B18;
--brand-900: #1A6516;
--brand-950: #103F0E;
--brand: #2abc21;
--brand-ink: #000000;
}Colors that work with #2abc21
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 #2abc21
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
- ✓Headers, footers and dark-mode surfaces
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠Black text placed on it
- ⚠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 | #B321BC | Directly opposite — maximum tension | |
| Analogous left | #77BC21 | Neighbour, quieter | |
| Analogous right | #21BC65 | Neighbour, quieter | |
| Split-complement 1 | #6521BC | Contrast without the clash | |
| Split-complement 2 | #BC2177 | Contrast without the clash | |
| Triadic 1 | #212ABC | Even thirds — balanced and loud | |
| Triadic 2 | #BC212A | Even thirds — balanced and loud | |
| Tetradic | #2177BC | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#2abc21 text on a black background
contrast 8.31:1
#2abc21 text on a white background
contrast 2.53:1
CSS3 live lab
The quick brown fox
color: #2abc21;
background-color: #2abc21;
Glowing headline
text-shadow: 2px 2px 8px #2abc21;
Soft neon halo
text-shadow: 0 0 14px rgba(42, 188, 33, 0.45);
box-shadow: 0 12px 32px -8px rgba(42, 188, 33, 0.45);
border: 3px solid #2abc21; background: linear-gradient(135deg, #2abc21, #21BC7F);
Monochromatic scale
Palettes built from #2abc21
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: Emerald (#50c878) — ΔE2000 10.3 away, with its history, psychology and brand usage.
#2abc21 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#2abc21, answered
What color is #2abc21?
#2abc21 is a dark vivid green, closest to Lime Green (ΔE2000 4.5). It sits at 117° on the hue wheel with 70% saturation and 43% lightness, which reads as cool.
What is the RGB value of #2abc21?
rgb(42, 188, 33) — 42 red, 188 green and 33 blue out of 255, or 16.5% / 73.7% / 12.9% by channel.
Is #2abc21 a light or a dark color?
It is a mid-tone. Relative luminance is 0.3657 and perceived brightness is 57%, so black text on it reaches 8.31:1.
Should I use black or white text on #2abc21?
Black. It scores 8.31:1 against #2abc21, versus 2.53:1 for white — AAA at any size.
What is the complementary color of #2abc21?
#B321BC sits directly opposite on the wheel. Softer options are the split-complements #6521BC and #BC2177, which give the same contrast with far less vibration.
What colors go well with #2abc21?
For interface work: #F5FAF4 as the surface, #C2EDC0 for borders, #4F9B4B for secondary text, #8E1DC0 as an accent and #186C13 for hover and pressed states. For a palette, the analogous pair #77BC21 and #21BC65 stays calm, while #B321BC is the loudest partner.
What is #2abc21 in CMYK for printing?
cmyk(78%, 0%, 82%, 26%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #2abc21 warm or cool?
Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #63BC21; nudged cooler, #1FBE50.