#2dfcaf
a balanced, electric green · cool · closest name: Medium Spring Green
At a glance
Every number on this page in one read: what #2dfcaf is made of, how bright it looks, and which way it leans.
Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #2dfcaf |
| RGB | rgb(45, 252, 175) |
| HSL | hsl(158, 97%, 58%) |
| CMYK | cmyk(82%, 0%, 31%, 1%) |
| LAB | lab(88.6 -65.1 23.6) |
| LCH | lch(88.6 69.2 160.1) |
| OKLCH | oklch(0.879 0.187 161.3) |
| Decimal | 3013807 |
| Display P3 | color(display-p3 0.176 0.988 0.686) |
Copy-ready code
/* CSS */
color: #2dfcaf;
background-color: #2dfcaf;
/* Tailwind (arbitrary) */
class="text-[#2dfcaf] bg-[#2dfcaf]"
/* SCSS */
$brand: #2dfcaf;
/* SwiftUI */
Color(red: 0.176, green: 0.988, blue: 0.686)
/* Android */
Color.parseColor("#2dfcaf")
/* Flutter */
Color(0xFF2DFCAF)
/* Python / OpenCV (BGR) */
(175, 252, 45)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #2dfcaf 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.
:root {
--brand-50: #F1FDF9;
--brand-100: #E4FCF3;
--brand-200: #C1FBE5;
--brand-300: #90FDD5;
--brand-400: #59FDC0;
--brand-500: #2dfcaf;
--brand-600: #03F199;
--brand-700: #03C97F;
--brand-800: #02A166;
--brand-900: #06744B;
--brand-950: #04482F;
--brand: #2dfcaf;
--brand-ink: #000000;
}Colors that work with #2dfcaf
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #2dfcaf
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠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 | #FC2D7A | Directly opposite — maximum tension | |
| Analogous left | #2DFC47 | Neighbour, quieter | |
| Analogous right | #2DE1FC | Neighbour, quieter | |
| Split-complement 1 | #FC2DE1 | Contrast without the clash | |
| Split-complement 2 | #FC472D | Contrast without the clash | |
| Triadic 1 | #AF2DFC | Even thirds — balanced and loud | |
| Triadic 2 | #FCAF2D | Even thirds — balanced and loud | |
| Tetradic | #472DFC | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#2dfcaf text on a black background
contrast 15.65:1
#2dfcaf text on a white background
contrast 1.34:1
CSS3 live lab
The quick brown fox
color: #2dfcaf;
background-color: #2dfcaf;
Glowing headline
text-shadow: 2px 2px 8px #2dfcaf;
Soft neon halo
text-shadow: 0 0 14px rgba(45, 252, 175, 0.45);
box-shadow: 0 12px 32px -8px rgba(45, 252, 175, 0.45);
border: 3px solid #2dfcaf; background: linear-gradient(135deg, #2dfcaf, #2DBFFC);
Monochromatic scale
Palettes built from #2dfcaf
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.
Closest color with a full write-up: Spring Green (#00ff7f) — ΔE2000 7.6 away, with its history, psychology and brand usage.
#2dfcaf in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#2dfcaf, answered
What color is #2dfcaf?
#2dfcaf is a balanced electric green, closest to Medium Spring Green (ΔE2000 3.3). It sits at 158° on the hue wheel with 97% saturation and 58% lightness, which reads as cool.
What is the RGB value of #2dfcaf?
rgb(45, 252, 175) — 45 red, 252 green and 175 blue out of 255, or 17.6% / 98.8% / 68.6% by channel.
Is #2dfcaf a light or a dark color?
It is a light color. Relative luminance is 0.7327 and perceived brightness is 80%, so black text on it reaches 15.65:1.
Should I use black or white text on #2dfcaf?
Black. It scores 15.65:1 against #2dfcaf, versus 1.34:1 for white — AAA at any size.
What is the complementary color of #2dfcaf?
#FC2D7A sits directly opposite on the wheel. Softer options are the split-complements #FC2DE1 and #FC472D, which give the same contrast with far less vibration.
What colors go well with #2dfcaf?
For interface work: #F4FAF8 as the surface, #C0EDDC for borders, #4B9B7D for secondary text, #FF2AAE as an accent and #027E50 for hover and pressed states. For a palette, the analogous pair #2DFC47 and #2DE1FC stays calm, while #FC2D7A is the loudest partner.
What is #2dfcaf in CMYK for printing?
cmyk(82%, 0%, 31%, 1%). 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 #2dfcaf 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 #2DFC63; nudged cooler, #2BFEFD.