Skip to content

#28f708

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

RGB
40, 247, 8
HSL
112°, 94%, 50%
CMYK
84, 0, 97, 3
Luminance
0.6699

At a glance

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

Hex
#28f708
Hue
112°
green
Saturation
94%
electric
Lightness
50%
balanced
Brightness
97%
HSV value
Perceived
75%
weighted brightness
Luminance
0.6699
WCAG relative
Temperature
Cool
59/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.40:1
Closest name
Lime
ΔE2000 1.7
Where it sits
Hue112° of 360°
Saturation94%
Lightness50%
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#28f708
RGBrgb(40, 247, 8)
HSLhsl(112, 94%, 50%)
CMYKcmyk(84%, 0%, 97%, 3%)
LABlab(85.5 -81.9 80.8)
LCHlch(85.5 115.1 135.4)
OKLCHoklch(0.848 0.283 141.9)
Decimal2684680
Display P3color(display-p3 0.157 0.969 0.031)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#28f708 on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#28f708 on black: 14.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FDDE00
deuteranopia · #E8D03A
tritanopia · #00EFD2

Color scale — 50 to 950

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

#F3FDF2
#E7FBE4
#CAFAC2
#A0FB92
#71FA5C
#42F826
#28f708
#20C606
#1A9E05
#177208
#0E4705
Base = 600Lightest = 50 · #F3FDF2Darkest = 950 · #0E4705
:root {
  --brand-50: #F3FDF2;
  --brand-100: #E7FBE4;
  --brand-200: #CAFAC2;
  --brand-300: #A0FB92;
  --brand-400: #71FA5C;
  --brand-500: #42F826;
  --brand-600: #28f708;
  --brand-700: #20C606;
  --brand-800: #1A9E05;
  --brand-900: #177208;
  --brand-950: #0E4705;
  --brand: #28f708;
  --brand-ink: #000000;
}

Colors that work with #28f708

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#C6EDC0
Hairlines and dividers
Muted text#559B4B
Captions on the surface
Accent#9D03FC
Second voice, not a rival
Dark variant#147B04
Hover, pressed, headers
Light variant#E9FEE6
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 #28f708

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#D708F7
Analogous left#9FF708
Analogous right#08F760
Split-complement 1#6008F7
Split-complement 2#F7089F
Triadic 1#0828F7
Triadic 2#F70828
Tetradic#089FF7

RGB percentages

Red15.7%
Green96.9%
Blue3.1%

CMYK percentages

Cyan83.8%
Magenta0.0%
Yellow96.8%
Key (black)3.1%

Color previews

#28f708 text on a black background

contrast 14.40:1

Card sample

#28f708 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #28f708

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.

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

#28f708, answered

What color is #28f708?

#28f708 is a balanced electric green, closest to Lime (ΔE2000 1.7). It sits at 112° on the hue wheel with 94% saturation and 50% lightness, which reads as cool.

What is the RGB value of #28f708?

rgb(40, 247, 8) — 40 red, 247 green and 8 blue out of 255, or 15.7% / 96.9% / 3.1% by channel.

Is #28f708 a light or a dark color?

It is a light color. Relative luminance is 0.6699 and perceived brightness is 75%, so black text on it reaches 14.40:1.

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

Black. It scores 14.40:1 against #28f708, versus 1.46:1 for white — AAA at any size.

What is the complementary color of #28f708?

#D708F7 sits directly opposite on the wheel. Softer options are the split-complements #6008F7 and #F7089F, which give the same contrast with far less vibration.

What colors go well with #28f708?

For interface work: #F5FAF4 as the surface, #C6EDC0 for borders, #559B4B for secondary text, #9D03FC as an accent and #147B04 for hover and pressed states. For a palette, the analogous pair #9FF708 and #08F760 stays calm, while #D708F7 is the loudest partner.

What is #28f708 in CMYK for printing?

cmyk(84%, 0%, 97%, 3%). 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 #28f708 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 #80F708; nudged cooler, #05FA3E.

Work with #28f708 in the Color Lab