Skip to content

#1fdf8d

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

RGB
31, 223, 141
HSL
154°, 76%, 50%
CMYK
86, 0, 37, 13
Luminance
0.5499

At a glance

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

Hex
#1fdf8d
Hue
154°
green
Saturation
76%
electric
Lightness
50%
balanced
Brightness
87%
HSV value
Perceived
70%
weighted brightness
Luminance
0.5499
WCAG relative
Temperature
Cool
77/100 cool
Color family
Green
Tone
Electric
Best ink
Black
12.00:1
Closest name
Medium Spring Green
ΔE2000 6
Where it sits
Hue154° of 360°
Saturation76%
Lightness50%
Temperature
Warm ← → Cool77% 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#1fdf8d
RGBrgb(31, 223, 141)
HSLhsl(154, 76%, 50%)
CMYKcmyk(86%, 0%, 37%, 13%)
LABlab(79.0 -62.7 28.0)
LCHlch(79.0 68.6 155.9)
OKLCHoklch(0.798 0.183 157.5)
Decimal2088845
Display P3color(display-p3 0.122 0.875 0.553)

Copy-ready code

/* CSS */
color: #1fdf8d;
background-color: #1fdf8d;
/* Tailwind (arbitrary) */
class="text-[#1fdf8d] bg-[#1fdf8d]"
/* SCSS */
$brand: #1fdf8d;
/* SwiftUI */
Color(red: 0.122, green: 0.875, blue: 0.553)
/* Android */
Color.parseColor("#1fdf8d")
/* Flutter */
Color(0xFF1FDF8D)
/* Python / OpenCV (BGR) */
(141, 223, 31)

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

Accessibility — WCAG contrast

Aa
#1fdf8d on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#1fdf8d on black: 12.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DDCD88
deuteranopia · #C8BE92
tritanopia · #00DDCA

Color scale — 50 to 950

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

#F3FCF8
#E7F9F1
#C8F4E1
#9CF1CD
#6BEAB4
#3AE49B
#1fdf8d
#19B371
#148F5B
#136843
#0C412A
Base = 600Lightest = 50 · #F3FCF8Darkest = 950 · #0C412A
:root {
  --brand-50: #F3FCF8;
  --brand-100: #E7F9F1;
  --brand-200: #C8F4E1;
  --brand-300: #9CF1CD;
  --brand-400: #6BEAB4;
  --brand-500: #3AE49B;
  --brand-600: #1fdf8d;
  --brand-700: #19B371;
  --brand-800: #148F5B;
  --brand-900: #136843;
  --brand-950: #0C412A;
  --brand: #1fdf8d;
  --brand-ink: #000000;
}

Colors that work with #1fdf8d

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#C0EDD9
Hairlines and dividers
Muted text#4B9B79
Captions on the surface
Accent#E41AA3
Second voice, not a rival
Dark variant#107047
Hover, pressed, headers
Light variant#E9FCF4
Selected rows, tints
Dark surface#14241D
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 #1fdf8d

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#DF1F71
Analogous left#1FDF2D
Analogous right#1FD1DF
Split-complement 1#DF1FD1
Split-complement 2#DF2D1F
Triadic 1#8D1FDF
Triadic 2#DF8D1F
Tetradic#2D1FDF

RGB percentages

Red12.2%
Green87.5%
Blue55.3%

CMYK percentages

Cyan86.1%
Magenta0.0%
Yellow36.8%
Key (black)12.5%

Color previews

#1fdf8d text on a black background

contrast 12.00:1

Card sample

#1fdf8d text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(31, 223, 141, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(31, 223, 141, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1fdf8d;
background: linear-gradient(135deg, #1fdf8d, #1FB1DF);

Monochromatic scale

Palettes built from #1fdf8d

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.

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

#1fdf8d, answered

What color is #1fdf8d?

#1fdf8d is a balanced electric green, closest to Medium Spring Green (ΔE2000 6). It sits at 154° on the hue wheel with 76% saturation and 50% lightness, which reads as cool.

What is the RGB value of #1fdf8d?

rgb(31, 223, 141) — 31 red, 223 green and 141 blue out of 255, or 12.2% / 87.5% / 55.3% by channel.

Is #1fdf8d a light or a dark color?

It is a light color. Relative luminance is 0.5499 and perceived brightness is 70%, so black text on it reaches 12.00:1.

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

Black. It scores 12.00:1 against #1fdf8d, versus 1.75:1 for white — AAA at any size.

What is the complementary color of #1fdf8d?

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

What colors go well with #1fdf8d?

For interface work: #F4FAF8 as the surface, #C0EDD9 for borders, #4B9B79 for secondary text, #E41AA3 as an accent and #107047 for hover and pressed states. For a palette, the analogous pair #1FDF2D and #1FD1DF stays calm, while #DF1F71 is the loudest partner.

What is #1fdf8d in CMYK for printing?

cmyk(86%, 0%, 37%, 13%). 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 #1fdf8d warm or cool?

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

Work with #1fdf8d in the Color Lab