Skip to content

#28bf3f

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

RGB
40, 191, 63
HSL
129°, 65%, 45%
CMYK
79, 0, 67, 25
Luminance
0.3807

At a glance

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

Hex
#28bf3f
Hue
129°
green
Saturation
65%
vivid
Lightness
45%
balanced
Brightness
75%
HSV value
Perceived
59%
weighted brightness
Luminance
0.3807
WCAG relative
Temperature
Cool
66/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
8.61:1
Closest name
Lime Green
ΔE2000 4.3
Where it sits
Hue129° of 360°
Saturation65%
Lightness45%
Temperature
Warm ← → Cool66% 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#28bf3f
RGBrgb(40, 191, 63)
HSLhsl(129, 65%, 45%)
CMYKcmyk(79%, 0%, 67%, 25%)
LABlab(68.1 -63.0 51.9)
LCHlch(68.1 81.6 140.5)
OKLCHoklch(0.704 0.208 144.8)
Decimal2670399
Display P3color(display-p3 0.157 0.749 0.247)

Copy-ready code

/* CSS */
color: #28bf3f;
background-color: #28bf3f;
/* Tailwind (arbitrary) */
class="text-[#28bf3f] bg-[#28bf3f]"
/* SCSS */
$brand: #28bf3f;
/* SwiftUI */
Color(red: 0.157, green: 0.749, blue: 0.247)
/* Android */
Color.parseColor("#28bf3f")
/* Flutter */
Color(0xFF28BF3F)
/* Python / OpenCV (BGR) */
(63, 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 #28bf3f · 8.61:1
Use #000000AAA at every size.
Aa
White text · 2.44:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.61:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #28bf3f as text scores 2.44:1 on white and 8.61:1 on black.

Accessibility — WCAG contrast

Aa
#28bf3f on white: 2.44:1
AA ✗ fail · AA-large · AAA
Aa
#28bf3f on black: 8.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C2AD2E
deuteranopia · #B2A14B
tritanopia · #00BAA5

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #28bf3f 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
#A2ECAD
#74E285
#45D85C
#28bf3f
#23A938
#1C872C
#186224
#0F3D16
Base = 600Lightest = 50 · #F3FBF5Darkest = 950 · #0F3D16
:root {
  --brand-50: #F3FBF5;
  --brand-100: #E8F8EA;
  --brand-200: #CBF1D1;
  --brand-300: #A2ECAD;
  --brand-400: #74E285;
  --brand-500: #45D85C;
  --brand-600: #28bf3f;
  --brand-700: #23A938;
  --brand-800: #1C872C;
  --brand-900: #186224;
  --brand-950: #0F3D16;
  --brand: #28bf3f;
  --brand-ink: #000000;
}

Colors that work with #28bf3f

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#4B9B57
Captions on the surface
Accent#B423C4
Second voice, not a rival
Dark variant#166923
Hover, pressed, headers
Light variant#EAFBEC
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 #28bf3f

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#BF28A8
Analogous left#5DBF28
Analogous right#28BF8A
Split-complement 1#8A28BF
Split-complement 2#BF285D
Triadic 1#3F28BF
Triadic 2#BF3F28
Tetradic#285DBF

RGB percentages

Red15.7%
Green74.9%
Blue24.7%

CMYK percentages

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

Color previews

#28bf3f text on a black background

contrast 8.61:1

Card sample

#28bf3f text on a white background

contrast 2.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #28bf3f

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.

#28bf3f 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.

#28bf3f, answered

What color is #28bf3f?

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

What is the RGB value of #28bf3f?

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

Is #28bf3f a light or a dark color?

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

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

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

What is the complementary color of #28bf3f?

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

What colors go well with #28bf3f?

For interface work: #F4FAF5 as the surface, #C0EDC7 for borders, #4B9B57 for secondary text, #B423C4 as an accent and #166923 for hover and pressed states. For a palette, the analogous pair #5DBF28 and #28BF8A stays calm, while #BF28A8 is the loudest partner.

What is #28bf3f in CMYK for printing?

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

Is #28bf3f warm or cool?

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

Work with #28bf3f in the Color Lab