Skip to content

#31df7d

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

RGB
49, 223, 125
HSL
146°, 73%, 53%
CMYK
78, 0, 44, 13
Luminance
0.5491

At a glance

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

Hex
#31df7d
Hue
146°
green
Saturation
73%
vivid
Lightness
53%
balanced
Brightness
87%
HSV value
Perceived
70%
weighted brightness
Luminance
0.5491
WCAG relative
Temperature
Cool
73/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
11.98:1
Closest name
Medium Spring Green
ΔE2000 6.2
Where it sits
Hue146° of 360°
Saturation73%
Lightness53%
Temperature
Warm ← → Cool73% 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#31df7d
RGBrgb(49, 223, 125)
HSLhsl(146, 73%, 53%)
CMYKcmyk(78%, 0%, 44%, 13%)
LABlab(79.0 -64.0 36.1)
LCHlch(79.0 73.4 150.6)
OKLCHoklch(0.797 0.194 152.7)
Decimal3268477
Display P3color(display-p3 0.192 0.875 0.490)

Copy-ready code

/* CSS */
color: #31df7d;
background-color: #31df7d;
/* Tailwind (arbitrary) */
class="text-[#31df7d] bg-[#31df7d]"
/* SCSS */
$brand: #31df7d;
/* SwiftUI */
Color(red: 0.192, green: 0.875, blue: 0.490)
/* Android */
Color.parseColor("#31df7d")
/* Flutter */
Color(0xFF31DF7D)
/* Python / OpenCV (BGR) */
(125, 223, 49)

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

Accessibility — WCAG contrast

Aa
#31df7d on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#31df7d on black: 11.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DFCC76
deuteranopia · #CBBE84
tritanopia · #00DCC7

Color scale — 50 to 950

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

#F3FCF7
#E7F8EF
#C9F3DB
#9EF0C2
#6DE8A3
#31df7d
#21D46F
#1BB15D
#168D4A
#146638
#0D4023
Base = 500Lightest = 50 · #F3FCF7Darkest = 950 · #0D4023
:root {
  --brand-50: #F3FCF7;
  --brand-100: #E7F8EF;
  --brand-200: #C9F3DB;
  --brand-300: #9EF0C2;
  --brand-400: #6DE8A3;
  --brand-500: #31df7d;
  --brand-600: #21D46F;
  --brand-700: #1BB15D;
  --brand-800: #168D4A;
  --brand-900: #146638;
  --brand-950: #0D4023;
  --brand: #31df7d;
  --brand-ink: #000000;
}

Colors that work with #31df7d

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#C0EDD3
Hairlines and dividers
Muted text#4B9B6E
Captions on the surface
Accent#E42CC1
Second voice, not a rival
Dark variant#116E3A
Hover, pressed, headers
Light variant#E9FCF1
Selected rows, tints
Dark surface#14241B
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 #31df7d

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#DF3193
Analogous left#3CDF31
Analogous right#31DFD4
Split-complement 1#D431DF
Split-complement 2#DF313C
Triadic 1#7D31DF
Triadic 2#DF7D31
Tetradic#313CDF

RGB percentages

Red19.2%
Green87.5%
Blue49.0%

CMYK percentages

Cyan78.0%
Magenta0.0%
Yellow43.9%
Key (black)12.5%

Color previews

#31df7d text on a black background

contrast 11.98:1

Card sample

#31df7d text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #31df7d;
Background color
Panel with #31df7d background
background-color: #31df7d;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #31df7d;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #31df7d

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.

#31df7d 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

Converts to four-color process without much drama. Proof it anyway.

#31df7d, answered

What color is #31df7d?

#31df7d is a balanced vivid green, closest to Medium Spring Green (ΔE2000 6.2). It sits at 146° on the hue wheel with 73% saturation and 53% lightness, which reads as cool.

What is the RGB value of #31df7d?

rgb(49, 223, 125) — 49 red, 223 green and 125 blue out of 255, or 19.2% / 87.5% / 49% by channel.

Is #31df7d a light or a dark color?

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

Should I use black or white text on #31df7d?

Black. It scores 11.98:1 against #31df7d, versus 1.75:1 for white — AAA at any size.

What is the complementary color of #31df7d?

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

What colors go well with #31df7d?

For interface work: #F4FAF7 as the surface, #C0EDD3 for borders, #4B9B6E for secondary text, #E42CC1 as an accent and #116E3A for hover and pressed states. For a palette, the analogous pair #3CDF31 and #31DFD4 stays calm, while #DF3193 is the loudest partner.

What is #31df7d in CMYK for printing?

cmyk(78%, 0%, 44%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #31df7d warm or cool?

Cool — it scores 73 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #31DF3D; nudged cooler, #2EE1BE.

Work with #31df7d in the Color Lab