Skip to content

#28cd3b

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

RGB
40, 205, 59
HSL
127°, 67%, 48%
CMYK
81, 0, 71, 20
Luminance
0.4443

At a glance

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

Hex
#28cd3b
Hue
127°
green
Saturation
67%
vivid
Lightness
48%
balanced
Brightness
80%
HSV value
Perceived
63%
weighted brightness
Luminance
0.4443
WCAG relative
Temperature
Cool
65/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
9.89:1
Closest name
Lime Green
ΔE2000 1.1
Where it sits
Hue127° of 360°
Saturation67%
Lightness48%
Temperature
Warm ← → Cool65% 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#28cd3b
RGBrgb(40, 205, 59)
HSLhsl(127, 67%, 48%)
CMYKcmyk(81%, 0%, 71%, 20%)
LABlab(72.5 -67.7 58.1)
LCHlch(72.5 89.3 139.4)
OKLCHoklch(0.741 0.226 144.1)
Decimal2673979
Display P3color(display-p3 0.157 0.804 0.231)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#28cd3b on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#28cd3b on black: 9.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D1B923
deuteranopia · #BFAD4A
tritanopia · #00C7B0

Color scale — 50 to 950

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

#F3FBF4
#E8F8EA
#CAF1CF
#A1EDAA
#72E37F
#43DA55
#28cd3b
#21AB31
#1B8927
#176320
#0F3E14
Base = 600Lightest = 50 · #F3FBF4Darkest = 950 · #0F3E14
:root {
  --brand-50: #F3FBF4;
  --brand-100: #E8F8EA;
  --brand-200: #CAF1CF;
  --brand-300: #A1EDAA;
  --brand-400: #72E37F;
  --brand-500: #43DA55;
  --brand-600: #28cd3b;
  --brand-700: #21AB31;
  --brand-800: #1B8927;
  --brand-900: #176320;
  --brand-950: #0F3E14;
  --brand: #28cd3b;
  --brand-ink: #000000;
}

Colors that work with #28cd3b

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#C0EDC5
Hairlines and dividers
Muted text#4B9B54
Captions on the surface
Accent#BA23D2
Second voice, not a rival
Dark variant#156B1F
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 #28cd3b

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#CD28BA
Analogous left#67CD28
Analogous right#28CD8D
Split-complement 1#8D28CD
Split-complement 2#CD2867
Triadic 1#3B28CD
Triadic 2#CD3B28
Tetradic#2867CD

RGB percentages

Red15.7%
Green80.4%
Blue23.1%

CMYK percentages

Cyan80.5%
Magenta0.0%
Yellow71.2%
Key (black)19.6%

Color previews

#28cd3b text on a black background

contrast 9.89:1

Card sample

#28cd3b text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #28cd3b

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.

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

#28cd3b, answered

What color is #28cd3b?

#28cd3b is a balanced vivid green, closest to Lime Green (ΔE2000 1.1). It sits at 127° on the hue wheel with 67% saturation and 48% lightness, which reads as cool.

What is the RGB value of #28cd3b?

rgb(40, 205, 59) — 40 red, 205 green and 59 blue out of 255, or 15.7% / 80.4% / 23.1% by channel.

Is #28cd3b a light or a dark color?

It is a mid-tone. Relative luminance is 0.4443 and perceived brightness is 63%, so black text on it reaches 9.89:1.

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

Black. It scores 9.89:1 against #28cd3b, versus 2.12:1 for white — AAA at any size.

What is the complementary color of #28cd3b?

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

What colors go well with #28cd3b?

For interface work: #F4FAF5 as the surface, #C0EDC5 for borders, #4B9B54 for secondary text, #BA23D2 as an accent and #156B1F for hover and pressed states. For a palette, the analogous pair #67CD28 and #28CD8D stays calm, while #CD28BA is the loudest partner.

What is #28cd3b in CMYK for printing?

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

Is #28cd3b warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #51CD28; nudged cooler, #26CF77.

Work with #28cd3b in the Color Lab