Skip to content

#2cfb2a

a balanced, electric green · cool · closest name: Lime

RGB
44, 251, 42
HSL
119°, 96%, 58%
CMYK
83, 0, 83, 2
Luminance
0.6970

At a glance

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

Hex
#2cfb2a
Hue
119°
green
Saturation
96%
electric
Lightness
58%
balanced
Brightness
98%
HSV value
Perceived
76%
weighted brightness
Luminance
0.6970
WCAG relative
Temperature
Cool
62/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.94:1
Closest name
Lime
ΔE2000 1.4
Where it sits
Hue119° of 360°
Saturation96%
Lightness58%
Temperature
Warm ← → Cool62% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#2cfb2a
RGBrgb(44, 251, 42)
HSLhsl(119, 96%, 58%)
CMYKcmyk(83%, 0%, 83%, 2%)
LABlab(86.8 -81.7 77.0)
LCHlch(86.8 112.3 136.7)
OKLCHoklch(0.860 0.279 142.6)
Decimal2947882
Display P3color(display-p3 0.173 0.984 0.165)

Copy-ready code

/* CSS */
color: #2cfb2a;
background-color: #2cfb2a;
/* Tailwind (arbitrary) */
class="text-[#2cfb2a] bg-[#2cfb2a]"
/* SCSS */
$brand: #2cfb2a;
/* SwiftUI */
Color(red: 0.173, green: 0.984, blue: 0.165)
/* Android */
Color.parseColor("#2cfb2a")
/* Flutter */
Color(0xFF2CFB2A)
/* Python / OpenCV (BGR) */
(42, 251, 44)

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

Accessibility — WCAG contrast

Aa
#2cfb2a on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#2cfb2a on black: 14.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE200
deuteranopia · #EBD447
tritanopia · #00F3D6

Color scale — 50 to 950

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

#F1FDF1
#E4FCE4
#C2FAC1
#92FD91
#5BFC5A
#2cfb2a
#07F005
#06C804
#05A003
#087307
#054804
Base = 500Lightest = 50 · #F1FDF1Darkest = 950 · #054804
:root {
  --brand-50: #F1FDF1;
  --brand-100: #E4FCE4;
  --brand-200: #C2FAC1;
  --brand-300: #92FD91;
  --brand-400: #5BFC5A;
  --brand-500: #2cfb2a;
  --brand-600: #07F005;
  --brand-700: #06C804;
  --brand-800: #05A003;
  --brand-900: #087307;
  --brand-950: #054804;
  --brand: #2cfb2a;
  --brand-ink: #000000;
}

Colors that work with #2cfb2a

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#F4FAF4
Tinted page background
Border#C0EDC0
Hairlines and dividers
Muted text#4B9B4B
Captions on the surface
Accent#C726FF
Second voice, not a rival
Dark variant#047D02
Hover, pressed, headers
Light variant#E6FFE6
Selected rows, tints
Dark surface#142414
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 #2cfb2a

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#F92AFB
Analogous left#95FB2A
Analogous right#2AFB91
Split-complement 1#912AFB
Split-complement 2#FB2A95
Triadic 1#2A2CFB
Triadic 2#FB2A2C
Tetradic#2A95FB

RGB percentages

Red17.3%
Green98.4%
Blue16.5%

CMYK percentages

Cyan82.5%
Magenta0.0%
Yellow83.3%
Key (black)1.6%

Color previews

#2cfb2a text on a black background

contrast 14.94:1

Card sample

#2cfb2a text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2cfb2a

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.

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

#2cfb2a, answered

What color is #2cfb2a?

#2cfb2a is a balanced electric green, closest to Lime (ΔE2000 1.4). It sits at 119° on the hue wheel with 96% saturation and 58% lightness, which reads as cool.

What is the RGB value of #2cfb2a?

rgb(44, 251, 42) — 44 red, 251 green and 42 blue out of 255, or 17.3% / 98.4% / 16.5% by channel.

Is #2cfb2a a light or a dark color?

It is a light color. Relative luminance is 0.6970 and perceived brightness is 76%, so black text on it reaches 14.94:1.

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

Black. It scores 14.94:1 against #2cfb2a, versus 1.41:1 for white — AAA at any size.

What is the complementary color of #2cfb2a?

#F92AFB sits directly opposite on the wheel. Softer options are the split-complements #912AFB and #FB2A95, which give the same contrast with far less vibration.

What colors go well with #2cfb2a?

For interface work: #F4FAF4 as the surface, #C0EDC0 for borders, #4B9B4B for secondary text, #C726FF as an accent and #047D02 for hover and pressed states. For a palette, the analogous pair #95FB2A and #2AFB91 stays calm, while #F92AFB is the loudest partner.

What is #2cfb2a in CMYK for printing?

cmyk(83%, 0%, 83%, 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 #2cfb2a warm or cool?

Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #79FB2A; nudged cooler, #28FD74.

Work with #2cfb2a in the Color Lab