Skip to content

#1df28c

a balanced, electric green · cool · closest name: Medium Spring Green

RGB
29, 242, 140
HSL
151°, 89%, 53%
CMYK
88, 0, 42, 5
Luminance
0.6566

At a glance

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

Hex
#1df28c
Hue
151°
green
Saturation
89%
electric
Lightness
53%
balanced
Brightness
95%
HSV value
Perceived
75%
weighted brightness
Luminance
0.6566
WCAG relative
Temperature
Cool
76/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.13:1
Closest name
Medium Spring Green
ΔE2000 2.2
Where it sits
Hue151° of 360°
Saturation89%
Lightness53%
Temperature
Warm ← → Cool76% 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#1df28c
RGBrgb(29, 242, 140)
HSLhsl(151, 89%, 53%)
CMYKcmyk(88%, 0%, 42%, 5%)
LABlab(84.8 -69.5 36.1)
LCHlch(84.8 78.3 152.5)
OKLCHoklch(0.846 0.207 154.4)
Decimal1962636
Display P3color(display-p3 0.114 0.949 0.549)

Copy-ready code

/* CSS */
color: #1df28c;
background-color: #1df28c;
/* Tailwind (arbitrary) */
class="text-[#1df28c] bg-[#1df28c]"
/* SCSS */
$brand: #1df28c;
/* SwiftUI */
Color(red: 0.114, green: 0.949, blue: 0.549)
/* Android */
Color.parseColor("#1df28c")
/* Flutter */
Color(0xFF1DF28C)
/* Python / OpenCV (BGR) */
(140, 242, 29)

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

Accessibility — WCAG contrast

Aa
#1df28c on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#1df28c on black: 14.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F1DD85
deuteranopia · #DBCD93
tritanopia · #00EFD9

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #1df28c is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F2FDF8
#E5FBF0
#C4F8DF
#95F9C9
#60F6AE
#1df28c
#0DE77F
#0BC16A
#099A55
#0B6F3F
#074628
Base = 500Lightest = 50 · #F2FDF8Darkest = 950 · #074628
:root {
  --brand-50: #F2FDF8;
  --brand-100: #E5FBF0;
  --brand-200: #C4F8DF;
  --brand-300: #95F9C9;
  --brand-400: #60F6AE;
  --brand-500: #1df28c;
  --brand-600: #0DE77F;
  --brand-700: #0BC16A;
  --brand-800: #099A55;
  --brand-900: #0B6F3F;
  --brand-950: #074628;
  --brand: #1df28c;
  --brand-ink: #000000;
}

Colors that work with #1df28c

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#F4FAF7
Tinted page background
Border#C0EDD7
Hairlines and dividers
Muted text#4B9B74
Captions on the surface
Accent#F718BA
Second voice, not a rival
Dark variant#077942
Hover, pressed, headers
Light variant#E7FEF3
Selected rows, tints
Dark surface#14241C
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 #1df28c

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#F21D83
Analogous left#1DF221
Analogous right#1DEDF2
Split-complement 1#F21DED
Split-complement 2#F2211D
Triadic 1#8C1DF2
Triadic 2#F28C1D
Tetradic#211DF2

RGB percentages

Red11.4%
Green94.9%
Blue54.9%

CMYK percentages

Cyan88.0%
Magenta0.0%
Yellow42.1%
Key (black)5.1%

Color previews

#1df28c text on a black background

contrast 14.13:1

Card sample

#1df28c text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1df28c;
Background color
Panel with #1df28c background
background-color: #1df28c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #1df28c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(29, 242, 140, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(29, 242, 140, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1df28c;
background: linear-gradient(135deg, #1df28c, #1DCAF2);

Monochromatic scale

Palettes built from #1df28c

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.

#1df28c 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.

#1df28c, answered

What color is #1df28c?

#1df28c is a balanced electric green, closest to Medium Spring Green (ΔE2000 2.2). It sits at 151° on the hue wheel with 89% saturation and 53% lightness, which reads as cool.

What is the RGB value of #1df28c?

rgb(29, 242, 140) — 29 red, 242 green and 140 blue out of 255, or 11.4% / 94.9% / 54.9% by channel.

Is #1df28c a light or a dark color?

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

Should I use black or white text on #1df28c?

Black. It scores 14.13:1 against #1df28c, versus 1.49:1 for white — AAA at any size.

What is the complementary color of #1df28c?

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

What colors go well with #1df28c?

For interface work: #F4FAF7 as the surface, #C0EDD7 for borders, #4B9B74 for secondary text, #F718BA as an accent and #077942 for hover and pressed states. For a palette, the analogous pair #1DF221 and #1DEDF2 stays calm, while #F21D83 is the loudest partner.

What is #1df28c in CMYK for printing?

cmyk(88%, 0%, 42%, 5%). 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 #1df28c warm or cool?

Cool — it scores 76 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #1DF23E; nudged cooler, #1AF4DC.

Work with #1df28c in the Color Lab