Skip to content

#1fdf6b

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

RGB
31, 223, 107
HSL
144°, 76%, 50%
CMYK
86, 0, 52, 13
Luminance
0.5413

At a glance

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

Hex
#1fdf6b
Hue
144°
green
Saturation
76%
electric
Lightness
50%
balanced
Brightness
87%
HSV value
Perceived
69%
weighted brightness
Luminance
0.5413
WCAG relative
Temperature
Cool
72/100 cool
Color family
Green
Tone
Electric
Best ink
Black
11.83:1
Closest name
Spring Green
ΔE2000 6.9
Where it sits
Hue144° of 360°
Saturation76%
Lightness50%
Temperature
Warm ← → Cool72% 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#1fdf6b
RGBrgb(31, 223, 107)
HSLhsl(144, 76%, 50%)
CMYKcmyk(86%, 0%, 52%, 13%)
LABlab(78.5 -68.5 44.2)
LCHlch(78.5 81.6 147.2)
OKLCHoklch(0.792 0.212 149.9)
Decimal2088811
Display P3color(display-p3 0.122 0.875 0.420)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1fdf6b on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#1fdf6b on black: 11.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E0CB61
deuteranopia · #CCBD74
tritanopia · #00DBC4

Color scale — 50 to 950

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

#F3FCF6
#E7F9EE
#C8F4D9
#9CF1BE
#6BEA9E
#3AE47D
#1fdf6b
#19B356
#148F45
#136834
#0C4121
Base = 600Lightest = 50 · #F3FCF6Darkest = 950 · #0C4121
:root {
  --brand-50: #F3FCF6;
  --brand-100: #E7F9EE;
  --brand-200: #C8F4D9;
  --brand-300: #9CF1BE;
  --brand-400: #6BEA9E;
  --brand-500: #3AE47D;
  --brand-600: #1fdf6b;
  --brand-700: #19B356;
  --brand-800: #148F45;
  --brand-900: #136834;
  --brand-950: #0C4121;
  --brand: #1fdf6b;
  --brand-ink: #000000;
}

Colors that work with #1fdf6b

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#C0EDD2
Hairlines and dividers
Muted text#4B9B6A
Captions on the surface
Accent#E41AC6
Second voice, not a rival
Dark variant#107036
Hover, pressed, headers
Light variant#E9FCF0
Selected rows, tints
Dark surface#14241A
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 #1fdf6b

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#DF1F93
Analogous left#33DF1F
Analogous right#1FDFCB
Split-complement 1#CB1FDF
Split-complement 2#DF1F33
Triadic 1#6B1FDF
Triadic 2#DF6B1F
Tetradic#1F33DF

RGB percentages

Red12.2%
Green87.5%
Blue42.0%

CMYK percentages

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

Color previews

#1fdf6b text on a black background

contrast 11.83:1

Card sample

#1fdf6b text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1fdf6b

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.

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

#1fdf6b, answered

What color is #1fdf6b?

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

What is the RGB value of #1fdf6b?

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

Is #1fdf6b a light or a dark color?

It is a light color. Relative luminance is 0.5413 and perceived brightness is 69%, so black text on it reaches 11.83:1.

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

Black. It scores 11.83:1 against #1fdf6b, versus 1.78:1 for white — AAA at any size.

What is the complementary color of #1fdf6b?

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

What colors go well with #1fdf6b?

For interface work: #F4FAF7 as the surface, #C0EDD2 for borders, #4B9B6A for secondary text, #E41AC6 as an accent and #107036 for hover and pressed states. For a palette, the analogous pair #33DF1F and #1FDFCB stays calm, while #DF1F93 is the loudest partner.

What is #1fdf6b in CMYK for printing?

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

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

Work with #1fdf6b in the Color Lab