Skip to content

#1dfbaf

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

RGB
29, 251, 175
HSL
160°, 97%, 55%
CMYK
88, 0, 30, 2
Luminance
0.7235

At a glance

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

Hex
#1dfbaf
Hue
160°
green
Saturation
97%
electric
Lightness
55%
balanced
Brightness
98%
HSV value
Perceived
79%
weighted brightness
Luminance
0.7235
WCAG relative
Temperature
Cool
79/100 cool
Color family
Green
Tone
Electric
Best ink
Black
15.47:1
Closest name
Medium Spring Green
ΔE2000 3.5
Where it sits
Hue160° of 360°
Saturation97%
Lightness55%
Temperature
Warm ← → Cool79% 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#1dfbaf
RGBrgb(29, 251, 175)
HSLhsl(160, 97%, 55%)
CMYKcmyk(88%, 0%, 30%, 2%)
LABlab(88.1 -65.8 22.9)
LCHlch(88.1 69.7 160.8)
OKLCHoklch(0.875 0.188 162.0)
Decimal1964975
Display P3color(display-p3 0.114 0.984 0.686)

Copy-ready code

/* CSS */
color: #1dfbaf;
background-color: #1dfbaf;
/* Tailwind (arbitrary) */
class="text-[#1dfbaf] bg-[#1dfbaf]"
/* SCSS */
$brand: #1dfbaf;
/* SwiftUI */
Color(red: 0.114, green: 0.984, blue: 0.686)
/* Android */
Color.parseColor("#1dfbaf")
/* Flutter */
Color(0xFF1DFBAF)
/* Python / OpenCV (BGR) */
(175, 251, 29)

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

Accessibility — WCAG contrast

Aa
#1dfbaf on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#1dfbaf on black: 15.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F7E7AA
deuteranopia · #DFD6B4
tritanopia · #00FAE7

Color scale — 50 to 950

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

#F1FDF9
#E4FCF4
#C1FBE7
#91FDD8
#5AFCC5
#1dfbaf
#04F1A0
#04C885
#03A06B
#07744E
#044831
Base = 500Lightest = 50 · #F1FDF9Darkest = 950 · #044831
:root {
  --brand-50: #F1FDF9;
  --brand-100: #E4FCF4;
  --brand-200: #C1FBE7;
  --brand-300: #91FDD8;
  --brand-400: #5AFCC5;
  --brand-500: #1dfbaf;
  --brand-600: #04F1A0;
  --brand-700: #04C885;
  --brand-800: #03A06B;
  --brand-900: #07744E;
  --brand-950: #044831;
  --brand: #1dfbaf;
  --brand-ink: #000000;
}

Colors that work with #1dfbaf

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#C0EDDD
Hairlines and dividers
Muted text#4B9B7F
Captions on the surface
Accent#FF19A1
Second voice, not a rival
Dark variant#027D53
Hover, pressed, headers
Light variant#E6FFF6
Selected rows, tints
Dark surface#14241F
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 #1dfbaf

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#FB1D69
Analogous left#1DFB40
Analogous right#1DD8FB
Split-complement 1#FB1DD8
Split-complement 2#FB401D
Triadic 1#AF1DFB
Triadic 2#FBAF1D
Tetradic#401DFB

RGB percentages

Red11.4%
Green98.4%
Blue68.6%

CMYK percentages

Cyan88.4%
Magenta0.0%
Yellow30.3%
Key (black)1.6%

Color previews

#1dfbaf text on a black background

contrast 15.47:1

Card sample

#1dfbaf text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(29, 251, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(29, 251, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1dfbaf;
background: linear-gradient(135deg, #1dfbaf, #1DB3FB);

Monochromatic scale

Palettes built from #1dfbaf

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.

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

#1dfbaf, answered

What color is #1dfbaf?

#1dfbaf is a balanced electric green, closest to Medium Spring Green (ΔE2000 3.5). It sits at 160° on the hue wheel with 97% saturation and 55% lightness, which reads as cool.

What is the RGB value of #1dfbaf?

rgb(29, 251, 175) — 29 red, 251 green and 175 blue out of 255, or 11.4% / 98.4% / 68.6% by channel.

Is #1dfbaf a light or a dark color?

It is a light color. Relative luminance is 0.7235 and perceived brightness is 79%, so black text on it reaches 15.47:1.

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

Black. It scores 15.47:1 against #1dfbaf, versus 1.36:1 for white — AAA at any size.

What is the complementary color of #1dfbaf?

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

What colors go well with #1dfbaf?

For interface work: #F4FAF8 as the surface, #C0EDDD for borders, #4B9B7F for secondary text, #FF19A1 as an accent and #027D53 for hover and pressed states. For a palette, the analogous pair #1DFB40 and #1DD8FB stays calm, while #FB1D69 is the loudest partner.

What is #1dfbaf in CMYK for printing?

cmyk(88%, 0%, 30%, 2%). 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 #1dfbaf warm or cool?

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

Work with #1dfbaf in the Color Lab