Skip to content

#2feb0c

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

RGB
47, 235, 12
HSL
111°, 90%, 48%
CMYK
80, 0, 95, 8
Luminance
0.6005

At a glance

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

Hex
#2feb0c
Hue
111°
green
Saturation
90%
electric
Lightness
48%
balanced
Brightness
92%
HSV value
Perceived
71%
weighted brightness
Luminance
0.6005
WCAG relative
Temperature
Cool
59/100 cool
Color family
Green
Tone
Electric
Best ink
Black
13.01:1
Closest name
Lime
ΔE2000 4.2
Where it sits
Hue111° of 360°
Saturation90%
Lightness48%
Temperature
Warm ← → Cool59% 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#2feb0c
RGBrgb(47, 235, 12)
HSLhsl(111, 90%, 48%)
CMYKcmyk(80%, 0%, 95%, 8%)
LABlab(81.9 -77.8 77.6)
LCHlch(81.9 109.9 135.1)
OKLCHoklch(0.818 0.271 141.6)
Decimal3140364
Display P3color(display-p3 0.184 0.922 0.047)

Copy-ready code

/* CSS */
color: #2feb0c;
background-color: #2feb0c;
/* Tailwind (arbitrary) */
class="text-[#2feb0c] bg-[#2feb0c]"
/* SCSS */
$brand: #2feb0c;
/* SwiftUI */
Color(red: 0.184, green: 0.922, blue: 0.047)
/* Android */
Color.parseColor("#2feb0c")
/* Flutter */
Color(0xFF2FEB0C)
/* Python / OpenCV (BGR) */
(12, 235, 47)

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

Accessibility — WCAG contrast

Aa
#2feb0c on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#2feb0c on black: 13.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F1D400
deuteranopia · #DDC638
tritanopia · #00E3C8

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2feb0c is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4FDF2
#E8FBE5
#CCF8C3
#A4FA94
#77F75F
#49F429
#2feb0c
#27C20A
#1F9B08
#1A700A
#104606
Base = 600Lightest = 50 · #F4FDF2Darkest = 950 · #104606
:root {
  --brand-50: #F4FDF2;
  --brand-100: #E8FBE5;
  --brand-200: #CCF8C3;
  --brand-300: #A4FA94;
  --brand-400: #77F75F;
  --brand-500: #49F429;
  --brand-600: #2feb0c;
  --brand-700: #27C20A;
  --brand-800: #1F9B08;
  --brand-900: #1A700A;
  --brand-950: #104606;
  --brand: #2feb0c;
  --brand-ink: #000000;
}

Colors that work with #2feb0c

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#F5FAF4
Tinted page background
Border#C7EDC0
Hairlines and dividers
Muted text#579B4B
Captions on the surface
Accent#9107F0
Second voice, not a rival
Dark variant#187906
Hover, pressed, headers
Light variant#EAFEE7
Selected rows, tints
Dark surface#162414
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 #2feb0c

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#C80CEB
Analogous left#9EEB0C
Analogous right#0CEB58
Split-complement 1#580CEB
Split-complement 2#EB0C9E
Triadic 1#0C2FEB
Triadic 2#EB0C2F
Tetradic#0C9EEB

RGB percentages

Red18.4%
Green92.2%
Blue4.7%

CMYK percentages

Cyan80.0%
Magenta0.0%
Yellow94.9%
Key (black)7.8%

Color previews

#2feb0c text on a black background

contrast 13.01:1

Card sample

#2feb0c text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 235, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 235, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2feb0c;
background: linear-gradient(135deg, #2feb0c, #0CEB7E);

Monochromatic scale

Palettes built from #2feb0c

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.

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

#2feb0c, answered

What color is #2feb0c?

#2feb0c is a balanced electric green, closest to Lime (ΔE2000 4.2). It sits at 111° on the hue wheel with 90% saturation and 48% lightness, which reads as cool.

What is the RGB value of #2feb0c?

rgb(47, 235, 12) — 47 red, 235 green and 12 blue out of 255, or 18.4% / 92.2% / 4.7% by channel.

Is #2feb0c a light or a dark color?

It is a light color. Relative luminance is 0.6005 and perceived brightness is 71%, so black text on it reaches 13.01:1.

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

Black. It scores 13.01:1 against #2feb0c, versus 1.61:1 for white — AAA at any size.

What is the complementary color of #2feb0c?

#C80CEB sits directly opposite on the wheel. Softer options are the split-complements #580CEB and #EB0C9E, which give the same contrast with far less vibration.

What colors go well with #2feb0c?

For interface work: #F5FAF4 as the surface, #C7EDC0 for borders, #579B4B for secondary text, #9107F0 as an accent and #187906 for hover and pressed states. For a palette, the analogous pair #9EEB0C and #0CEB58 stays calm, while #C80CEB is the loudest partner.

What is #2feb0c in CMYK for printing?

cmyk(80%, 0%, 95%, 8%). 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 #2feb0c warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #81EB0C; nudged cooler, #0AED39.

Work with #2feb0c in the Color Lab