Skip to content

#28bf8b

a balanced, vivid green · cool · closest name: Medium Sea Green

RGB
40, 191, 139
HSL
159°, 65%, 45%
CMYK
79, 0, 27, 25
Luminance
0.3958

At a glance

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

Hex
#28bf8b
Hue
159°
green
Saturation
65%
vivid
Lightness
45%
balanced
Brightness
75%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3958
WCAG relative
Temperature
Cool
79/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
8.92:1
Closest name
Medium Sea Green
ΔE2000 5.4
Where it sits
Hue159° of 360°
Saturation65%
Lightness45%
Temperature
Warm ← → Cool79% 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#28bf8b
RGBrgb(40, 191, 139)
HSLhsl(159, 65%, 45%)
CMYKcmyk(79%, 0%, 27%, 25%)
LABlab(69.2 -50.4 15.6)
LCHlch(69.2 52.7 162.8)
OKLCHoklch(0.717 0.143 164.0)
Decimal2670475
Display P3color(display-p3 0.157 0.749 0.545)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#28bf8b on white: 2.36:1
AA ✗ fail · AA-large · AAA
Aa
#28bf8b on black: 8.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BBB188
deuteranopia · #A9A38E
tritanopia · #00BFB1

Color scale — 50 to 950

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

#F3FBF9
#E8F8F2
#CBF1E4
#A2ECD2
#74E2BC
#45D8A6
#28bf8b
#23A97B
#1C8762
#186249
#0F3D2D
Base = 600Lightest = 50 · #F3FBF9Darkest = 950 · #0F3D2D
:root {
  --brand-50: #F3FBF9;
  --brand-100: #E8F8F2;
  --brand-200: #CBF1E4;
  --brand-300: #A2ECD2;
  --brand-400: #74E2BC;
  --brand-500: #45D8A6;
  --brand-600: #28bf8b;
  --brand-700: #23A97B;
  --brand-800: #1C8762;
  --brand-900: #186249;
  --brand-950: #0F3D2D;
  --brand: #28bf8b;
  --brand-ink: #000000;
}

Colors that work with #28bf8b

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#F4FAF8
Tinted page background
Border#C0EDDD
Hairlines and dividers
Muted text#4B9B7F
Captions on the surface
Accent#C42383
Second voice, not a rival
Dark variant#16694D
Hover, pressed, headers
Light variant#EAFBF5
Selected rows, tints
Dark surface#14241F
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 #28bf8b

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#BF285C
Analogous left#28BF3F
Analogous right#28A8BF
Split-complement 1#BF28A8
Split-complement 2#BF3F28
Triadic 1#8B28BF
Triadic 2#BF8B28
Tetradic#3F28BF

RGB percentages

Red15.7%
Green74.9%
Blue54.5%

CMYK percentages

Cyan79.1%
Magenta0.0%
Yellow27.2%
Key (black)25.1%

Color previews

#28bf8b text on a black background

contrast 8.92:1

Card sample

#28bf8b text on a white background

contrast 2.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #28bf8b

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.

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

#28bf8b, answered

What color is #28bf8b?

#28bf8b is a balanced vivid green, closest to Medium Sea Green (ΔE2000 5.4). It sits at 159° on the hue wheel with 65% saturation and 45% lightness, which reads as cool.

What is the RGB value of #28bf8b?

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

Is #28bf8b a light or a dark color?

It is a mid-tone. Relative luminance is 0.3958 and perceived brightness is 61%, so black text on it reaches 8.92:1.

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

Black. It scores 8.92:1 against #28bf8b, versus 2.36:1 for white — AAA at any size.

What is the complementary color of #28bf8b?

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

What colors go well with #28bf8b?

For interface work: #F4FAF8 as the surface, #C0EDDD for borders, #4B9B7F for secondary text, #C42383 as an accent and #16694D for hover and pressed states. For a palette, the analogous pair #28BF3F and #28A8BF stays calm, while #BF285C is the loudest partner.

What is #28bf8b in CMYK for printing?

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

Is #28bf8b warm or cool?

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

Work with #28bf8b in the Color Lab