Skip to content

#28bf41

a balanced, vivid green · cool · closest name: Lime Green

RGB
40, 191, 65
HSL
130°, 65%, 45%
CMYK
79, 0, 66, 25
Luminance
0.3809

At a glance

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

Hex
#28bf41
Hue
130°
green
Saturation
65%
vivid
Lightness
45%
balanced
Brightness
75%
HSV value
Perceived
59%
weighted brightness
Luminance
0.3809
WCAG relative
Temperature
Cool
67/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
8.62:1
Closest name
Lime Green
ΔE2000 4.4
Where it sits
Hue130° of 360°
Saturation65%
Lightness45%
Temperature
Warm ← → Cool67% 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#28bf41
RGBrgb(40, 191, 65)
HSLhsl(130, 65%, 45%)
CMYKcmyk(79%, 0%, 66%, 25%)
LABlab(68.1 -62.8 51.1)
LCHlch(68.1 80.9 140.9)
OKLCHoklch(0.704 0.207 145.1)
Decimal2670401
Display P3color(display-p3 0.157 0.749 0.255)

Copy-ready code

/* CSS */
color: #28bf41;
background-color: #28bf41;
/* Tailwind (arbitrary) */
class="text-[#28bf41] bg-[#28bf41]"
/* SCSS */
$brand: #28bf41;
/* SwiftUI */
Color(red: 0.157, green: 0.749, blue: 0.255)
/* Android */
Color.parseColor("#28bf41")
/* Flutter */
Color(0xFF28BF41)
/* Python / OpenCV (BGR) */
(65, 191, 40)

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

Accessibility — WCAG contrast

Aa
#28bf41 on white: 2.44:1
AA ✗ fail · AA-large · AAA
Aa
#28bf41 on black: 8.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C2AD31
deuteranopia · #B2A14D
tritanopia · #00BAA5

Color scale — 50 to 950

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

#F3FBF5
#E8F8EA
#CBF1D1
#A2ECAE
#74E286
#45D85E
#28bf41
#23A939
#1C872E
#186225
#0F3D17
Base = 600Lightest = 50 · #F3FBF5Darkest = 950 · #0F3D17
:root {
  --brand-50: #F3FBF5;
  --brand-100: #E8F8EA;
  --brand-200: #CBF1D1;
  --brand-300: #A2ECAE;
  --brand-400: #74E286;
  --brand-500: #45D85E;
  --brand-600: #28bf41;
  --brand-700: #23A939;
  --brand-800: #1C872E;
  --brand-900: #186225;
  --brand-950: #0F3D17;
  --brand: #28bf41;
  --brand-ink: #000000;
}

Colors that work with #28bf41

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#F4FAF5
Tinted page background
Border#C0EDC7
Hairlines and dividers
Muted text#4B9B58
Captions on the surface
Accent#B623C4
Second voice, not a rival
Dark variant#166924
Hover, pressed, headers
Light variant#EAFBED
Selected rows, tints
Dark surface#142416
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 #28bf41

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#BF28A6
Analogous left#5BBF28
Analogous right#28BF8C
Split-complement 1#8C28BF
Split-complement 2#BF285B
Triadic 1#4128BF
Triadic 2#BF4128
Tetradic#285BBF

RGB percentages

Red15.7%
Green74.9%
Blue25.5%

CMYK percentages

Cyan79.1%
Magenta0.0%
Yellow66.0%
Key (black)25.1%

Color previews

#28bf41 text on a black background

contrast 8.62:1

Card sample

#28bf41 text on a white background

contrast 2.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #28bf41;
Background color
Panel with #28bf41 background
background-color: #28bf41;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(40, 191, 65, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 191, 65, 0.45);
Border & gradient
Gradient panel
border: 3px solid #28bf41;
background: linear-gradient(135deg, #28bf41, #28BFA6);

Monochromatic scale

Palettes built from #28bf41

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.

#28bf41 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

Converts to four-color process without much drama. Proof it anyway.

#28bf41, answered

What color is #28bf41?

#28bf41 is a balanced vivid green, closest to Lime Green (ΔE2000 4.4). It sits at 130° on the hue wheel with 65% saturation and 45% lightness, which reads as cool.

What is the RGB value of #28bf41?

rgb(40, 191, 65) — 40 red, 191 green and 65 blue out of 255, or 15.7% / 74.9% / 25.5% by channel.

Is #28bf41 a light or a dark color?

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

Should I use black or white text on #28bf41?

Black. It scores 8.62:1 against #28bf41, versus 2.44:1 for white — AAA at any size.

What is the complementary color of #28bf41?

#BF28A6 sits directly opposite on the wheel. Softer options are the split-complements #8C28BF and #BF285B, which give the same contrast with far less vibration.

What colors go well with #28bf41?

For interface work: #F4FAF5 as the surface, #C0EDC7 for borders, #4B9B58 for secondary text, #B623C4 as an accent and #166924 for hover and pressed states. For a palette, the analogous pair #5BBF28 and #28BF8C stays calm, while #BF28A6 is the loudest partner.

What is #28bf41 in CMYK for printing?

cmyk(79%, 0%, 66%, 25%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #28bf41 warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #46BF28; nudged cooler, #26C178.

Work with #28bf41 in the Color Lab