Skip to content

#2ac302

a dark, electric green · neutral · closest name: Lime Green

RGB
42, 195, 2
HSL
108°, 98%, 39%
CMYK
79, 0, 99, 24
Luminance
0.3953

At a glance

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

Hex
#2ac302
Hue
108°
green
Saturation
98%
electric
Lightness
39%
dark
Brightness
76%
HSV value
Perceived
59%
weighted brightness
Luminance
0.3953
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Green
Tone
Electric
Best ink
Black
8.91:1
Closest name
Lime Green
ΔE2000 3.3
Where it sits
Hue108° of 360°
Saturation98%
Lightness39%
Temperature
Warm ← → Cool57% 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#2ac302
RGBrgb(42, 195, 2)
HSLhsl(108, 98%, 39%)
CMYKcmyk(79%, 0%, 99%, 24%)
LABlab(69.1 -67.2 68.2)
LCHlch(69.1 95.7 134.6)
OKLCHoklch(0.712 0.235 141.3)
Decimal2802434
Display P3color(display-p3 0.165 0.765 0.008)

Copy-ready code

/* CSS */
color: #2ac302;
background-color: #2ac302;
/* Tailwind (arbitrary) */
class="text-[#2ac302] bg-[#2ac302]"
/* SCSS */
$brand: #2ac302;
/* SwiftUI */
Color(red: 0.165, green: 0.765, blue: 0.008)
/* Android */
Color.parseColor("#2ac302")
/* Flutter */
Color(0xFF2AC302)
/* Python / OpenCV (BGR) */
(2, 195, 42)

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

Accessibility — WCAG contrast

Aa
#2ac302 on white: 2.36:1
AA ✗ fail · AA-large · AAA
Aa
#2ac302 on black: 8.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C8B000
deuteranopia · #B8A42B
tritanopia · #00BDA5

Color scale — 50 to 950

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

#F4FDF1
#E9FCE3
#CDFBC1
#A7FE90
#7AFD58
#4EFD21
#34F202
#2ac302
#23A202
#1D7406
#124904
Base = 700Lightest = 50 · #F4FDF1Darkest = 950 · #124904
:root {
  --brand-50: #F4FDF1;
  --brand-100: #E9FCE3;
  --brand-200: #CDFBC1;
  --brand-300: #A7FE90;
  --brand-400: #7AFD58;
  --brand-500: #4EFD21;
  --brand-600: #34F202;
  --brand-700: #2ac302;
  --brand-800: #23A202;
  --brand-900: #1D7406;
  --brand-950: #124904;
  --brand: #2ac302;
  --brand-ink: #000000;
}

Colors that work with #2ac302

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#F6FAF4
Tinted page background
Border#C9EDC0
Hairlines and dividers
Muted text#5B9B4B
Captions on the surface
Accent#6B00C5
Second voice, not a rival
Dark variant#1B7E01
Hover, pressed, headers
Light variant#EBFFE6
Selected rows, tints
Dark surface#172414
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 #2ac302

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
  • Headers, footers and dark-mode surfaces
  • 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
  • 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#9B02C3
Analogous left#8AC302
Analogous right#02C33B
Split-complement 1#3B02C3
Split-complement 2#C3028A
Triadic 1#022AC3
Triadic 2#C3022A
Tetradic#028AC3

RGB percentages

Red16.5%
Green76.5%
Blue0.8%

CMYK percentages

Cyan78.5%
Magenta0.0%
Yellow99.0%
Key (black)23.5%

Color previews

#2ac302 text on a black background

contrast 8.91:1

Card sample

#2ac302 text on a white background

contrast 2.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(42, 195, 2, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 195, 2, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2ac302;
background: linear-gradient(135deg, #2ac302, #02C35B);

Monochromatic scale

Palettes built from #2ac302

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.

#2ac302 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.

#2ac302, answered

What color is #2ac302?

#2ac302 is a dark electric green, closest to Lime Green (ΔE2000 3.3). It sits at 108° on the hue wheel with 98% saturation and 39% lightness, which reads as neutral.

What is the RGB value of #2ac302?

rgb(42, 195, 2) — 42 red, 195 green and 2 blue out of 255, or 16.5% / 76.5% / 0.8% by channel.

Is #2ac302 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3953 and perceived brightness is 59%, so black text on it reaches 8.91:1.

Should I use black or white text on #2ac302?

Black. It scores 8.91:1 against #2ac302, versus 2.36:1 for white — AAA at any size.

What is the complementary color of #2ac302?

#9B02C3 sits directly opposite on the wheel. Softer options are the split-complements #3B02C3 and #C3028A, which give the same contrast with far less vibration.

What colors go well with #2ac302?

For interface work: #F6FAF4 as the surface, #C9EDC0 for borders, #5B9B4B for secondary text, #6B00C5 as an accent and #1B7E01 for hover and pressed states. For a palette, the analogous pair #8AC302 and #02C33B stays calm, while #9B02C3 is the loudest partner.

What is #2ac302 in CMYK for printing?

cmyk(79%, 0%, 99%, 24%). 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 #2ac302 warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #71C302; nudged cooler, #00C51F.

Work with #2ac302 in the Color Lab