Skip to content

#1fd60f

a dark, electric green · cool · closest name: Lime Green

RGB
31, 214, 15
HSL
115°, 87%, 45%
CMYK
86, 0, 93, 16
Luminance
0.4842

At a glance

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

Hex
#1fd60f
Hue
115°
green
Saturation
87%
electric
Lightness
45%
dark
Brightness
84%
HSV value
Perceived
65%
weighted brightness
Luminance
0.4842
WCAG relative
Temperature
Cool
60/100 cool
Color family
Green
Tone
Electric
Best ink
Black
10.68:1
Closest name
Lime Green
ΔE2000 3
Where it sits
Hue115° of 360°
Saturation87%
Lightness45%
Temperature
Warm ← → Cool60% 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#1fd60f
RGBrgb(31, 214, 15)
HSLhsl(115, 87%, 45%)
CMYKcmyk(86%, 0%, 93%, 16%)
LABlab(75.1 -73.6 71.6)
LCHlch(75.1 102.6 135.8)
OKLCHoklch(0.761 0.253 142.1)
Decimal2086415
Display P3color(display-p3 0.122 0.839 0.059)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1fd60f on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#1fd60f on black: 10.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DBC100
deuteranopia · #C9B433
tritanopia · #00CFB6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #1fd60f 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
#E7FAE5
#C8F7C4
#9EF896
#6DF462
#3DF02D
#1fd60f
#1CBF0D
#16990B
#146E0C
#0D4508
Base = 600Lightest = 50 · #F3FDF2Darkest = 950 · #0D4508
:root {
  --brand-50: #F3FDF2;
  --brand-100: #E7FAE5;
  --brand-200: #C8F7C4;
  --brand-300: #9EF896;
  --brand-400: #6DF462;
  --brand-500: #3DF02D;
  --brand-600: #1fd60f;
  --brand-700: #1CBF0D;
  --brand-800: #16990B;
  --brand-900: #146E0C;
  --brand-950: #0D4508;
  --brand: #1fd60f;
  --brand-ink: #000000;
}

Colors that work with #1fd60f

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#C3EDC0
Hairlines and dividers
Muted text#519B4B
Captions on the surface
Accent#960ADB
Second voice, not a rival
Dark variant#117708
Hover, pressed, headers
Light variant#E9FDE7
Selected rows, tints
Dark surface#152414
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 #1fd60f

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
  • Headers, footers and dark-mode surfaces
  • 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
  • Black text placed on it
  • 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#C60FD6
Analogous left#82D60F
Analogous right#0FD663
Split-complement 1#630FD6
Split-complement 2#D60F82
Triadic 1#0F1FD6
Triadic 2#D60F1F
Tetradic#0F82D6

RGB percentages

Red12.2%
Green83.9%
Blue5.9%

CMYK percentages

Cyan85.5%
Magenta0.0%
Yellow93.0%
Key (black)16.1%

Color previews

#1fd60f text on a black background

contrast 10.68:1

Card sample

#1fd60f text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1fd60f

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.

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

#1fd60f, answered

What color is #1fd60f?

#1fd60f is a dark electric green, closest to Lime Green (ΔE2000 3). It sits at 115° on the hue wheel with 87% saturation and 45% lightness, which reads as cool.

What is the RGB value of #1fd60f?

rgb(31, 214, 15) — 31 red, 214 green and 15 blue out of 255, or 12.2% / 83.9% / 5.9% by channel.

Is #1fd60f a light or a dark color?

It is a mid-tone. Relative luminance is 0.4842 and perceived brightness is 65%, so black text on it reaches 10.68:1.

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

Black. It scores 10.68:1 against #1fd60f, versus 1.97:1 for white — AAA at any size.

What is the complementary color of #1fd60f?

#C60FD6 sits directly opposite on the wheel. Softer options are the split-complements #630FD6 and #D60F82, which give the same contrast with far less vibration.

What colors go well with #1fd60f?

For interface work: #F5FAF4 as the surface, #C3EDC0 for borders, #519B4B for secondary text, #960ADB as an accent and #117708 for hover and pressed states. For a palette, the analogous pair #82D60F and #0FD663 stays calm, while #C60FD6 is the loudest partner.

What is #1fd60f in CMYK for printing?

cmyk(86%, 0%, 93%, 16%). 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 #1fd60f warm or cool?

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #68D60F; nudged cooler, #0DD847.

Work with #1fd60f in the Color Lab