Skip to content

#1fdf93

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

RGB
31, 223, 147
HSL
156°, 76%, 50%
CMYK
86, 0, 34, 13
Luminance
0.5517

At a glance

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

Hex
#1fdf93
Hue
156°
green
Saturation
76%
electric
Lightness
50%
balanced
Brightness
87%
HSV value
Perceived
70%
weighted brightness
Luminance
0.5517
WCAG relative
Temperature
Cool
78/100 cool
Color family
Green
Tone
Electric
Best ink
Black
12.03:1
Closest name
Medium Spring Green
ΔE2000 6.2
Where it sits
Hue156° of 360°
Saturation76%
Lightness50%
Temperature
Warm ← → Cool78% 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#1fdf93
RGBrgb(31, 223, 147)
HSLhsl(156, 76%, 50%)
CMYKcmyk(86%, 0%, 34%, 13%)
LABlab(79.1 -61.5 25.0)
LCHlch(79.1 66.4 157.8)
OKLCHoklch(0.799 0.178 159.2)
Decimal2088851
Display P3color(display-p3 0.122 0.875 0.576)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1fdf93 on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#1fdf93 on black: 12.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DCCD8E
deuteranopia · #C7BE98
tritanopia · #00DECB

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #1fdf93 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
#E7F9F2
#C8F4E2
#9CF1D0
#6BEAB8
#3AE4A1
#1fdf93
#19B376
#148F5F
#136846
#0C412C
Base = 600Lightest = 50 · #F3FCF8Darkest = 950 · #0C412C
:root {
  --brand-50: #F3FCF8;
  --brand-100: #E7F9F2;
  --brand-200: #C8F4E2;
  --brand-300: #9CF1D0;
  --brand-400: #6BEAB8;
  --brand-500: #3AE4A1;
  --brand-600: #1fdf93;
  --brand-700: #19B376;
  --brand-800: #148F5F;
  --brand-900: #136846;
  --brand-950: #0C412C;
  --brand: #1fdf93;
  --brand-ink: #000000;
}

Colors that work with #1fdf93

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#C0EDDB
Hairlines and dividers
Muted text#4B9B7B
Captions on the surface
Accent#E41A9C
Second voice, not a rival
Dark variant#10704A
Hover, pressed, headers
Light variant#E9FCF4
Selected rows, tints
Dark surface#14241E
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 #1fdf93

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#DF1F6B
Analogous left#1FDF33
Analogous right#1FCBDF
Split-complement 1#DF1FCB
Split-complement 2#DF331F
Triadic 1#931FDF
Triadic 2#DF931F
Tetradic#331FDF

RGB percentages

Red12.2%
Green87.5%
Blue57.6%

CMYK percentages

Cyan86.1%
Magenta0.0%
Yellow34.1%
Key (black)12.5%

Color previews

#1fdf93 text on a black background

contrast 12.03:1

Card sample

#1fdf93 text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1fdf93

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.

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

#1fdf93, answered

What color is #1fdf93?

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

What is the RGB value of #1fdf93?

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

Is #1fdf93 a light or a dark color?

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

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

Black. It scores 12.03:1 against #1fdf93, versus 1.74:1 for white — AAA at any size.

What is the complementary color of #1fdf93?

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

What colors go well with #1fdf93?

For interface work: #F4FAF8 as the surface, #C0EDDB for borders, #4B9B7B for secondary text, #E41A9C as an accent and #10704A for hover and pressed states. For a palette, the analogous pair #1FDF33 and #1FCBDF stays calm, while #DF1F6B is the loudest partner.

What is #1fdf93 in CMYK for printing?

cmyk(86%, 0%, 34%, 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 #1fdf93 warm or cool?

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

Work with #1fdf93 in the Color Lab