Skip to content

#2decac

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

RGB
45, 236, 172
HSL
160°, 83%, 55%
CMYK
81, 0, 27, 8
Luminance
0.6353

At a glance

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

Hex
#2decac
Hue
160°
green
Saturation
83%
electric
Lightness
55%
balanced
Brightness
93%
HSV value
Perceived
75%
weighted brightness
Luminance
0.6353
WCAG relative
Temperature
Cool
79/100 cool
Color family
Green
Tone
Electric
Best ink
Black
13.71:1
Closest name
Medium Spring Green
ΔE2000 5.9
Where it sits
Hue160° of 360°
Saturation83%
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#2decac
RGBrgb(45, 236, 172)
HSLhsl(160, 83%, 55%)
CMYKcmyk(81%, 0%, 27%, 8%)
LABlab(83.7 -59.8 18.4)
LCHlch(83.7 62.6 162.9)
OKLCHoklch(0.839 0.170 164.0)
Decimal3009708
Display P3color(display-p3 0.176 0.925 0.675)

Copy-ready code

/* CSS */
color: #2decac;
background-color: #2decac;
/* Tailwind (arbitrary) */
class="text-[#2decac] bg-[#2decac]"
/* SCSS */
$brand: #2decac;
/* SwiftUI */
Color(red: 0.176, green: 0.925, blue: 0.675)
/* Android */
Color.parseColor("#2decac")
/* Flutter */
Color(0xFF2DECAC)
/* Python / OpenCV (BGR) */
(172, 236, 45)

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

Accessibility — WCAG contrast

Aa
#2decac on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#2decac on black: 13.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E7DAA8
deuteranopia · #D1CAB0
tritanopia · #00ECDB

Color scale — 50 to 950

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

#F2FCF9
#E6FAF3
#C6F6E6
#98F6D6
#65F1C2
#2decac
#14E09C
#11BB82
#0E9668
#0E6C4D
#094430
Base = 500Lightest = 50 · #F2FCF9Darkest = 950 · #094430
:root {
  --brand-50: #F2FCF9;
  --brand-100: #E6FAF3;
  --brand-200: #C6F6E6;
  --brand-300: #98F6D6;
  --brand-400: #65F1C2;
  --brand-500: #2decac;
  --brand-600: #14E09C;
  --brand-700: #11BB82;
  --brand-800: #0E9668;
  --brand-900: #0E6C4D;
  --brand-950: #094430;
  --brand: #2decac;
  --brand-ink: #000000;
}

Colors that work with #2decac

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#C0EDDE
Hairlines and dividers
Muted text#4B9B80
Captions on the surface
Accent#F1289E
Second voice, not a rival
Dark variant#0B7551
Hover, pressed, headers
Light variant#E8FDF6
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 #2decac

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#EC2D6D
Analogous left#2DEC4D
Analogous right#2DCCEC
Split-complement 1#EC2DCC
Split-complement 2#EC4D2D
Triadic 1#AC2DEC
Triadic 2#ECAC2D
Tetradic#4D2DEC

RGB percentages

Red17.6%
Green92.5%
Blue67.5%

CMYK percentages

Cyan80.9%
Magenta0.0%
Yellow27.1%
Key (black)7.5%

Color previews

#2decac text on a black background

contrast 13.71:1

Card sample

#2decac text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2decac;
Background color
Panel with #2decac background
background-color: #2decac;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 236, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 236, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2decac;
background: linear-gradient(135deg, #2decac, #2DADEC);

Monochromatic scale

Palettes built from #2decac

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.

#2decac 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.

#2decac, answered

What color is #2decac?

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

What is the RGB value of #2decac?

rgb(45, 236, 172) — 45 red, 236 green and 172 blue out of 255, or 17.6% / 92.5% / 67.5% by channel.

Is #2decac a light or a dark color?

It is a light color. Relative luminance is 0.6353 and perceived brightness is 75%, so black text on it reaches 13.71:1.

Should I use black or white text on #2decac?

Black. It scores 13.71:1 against #2decac, versus 1.53:1 for white — AAA at any size.

What is the complementary color of #2decac?

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

What colors go well with #2decac?

For interface work: #F4FAF8 as the surface, #C0EDDE for borders, #4B9B80 for secondary text, #F1289E as an accent and #0B7551 for hover and pressed states. For a palette, the analogous pair #2DEC4D and #2DCCEC stays calm, while #EC2D6D is the loudest partner.

What is #2decac in CMYK for printing?

cmyk(81%, 0%, 27%, 8%). 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 #2decac 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 #2DEC66; nudged cooler, #2BE8EE.

Work with #2decac in the Color Lab