Skip to content

#ecfcab

a light, electric green · warm · closest name: Pale Goldenrod

RGB
236, 252, 171
HSL
72°, 93%, 83%
CMYK
6, 0, 32, 1
Luminance
0.9039

At a glance

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

Hex
#ecfcab
Hue
72°
green
Saturation
93%
electric
Lightness
83%
light
Brightness
99%
HSV value
Perceived
94%
weighted brightness
Luminance
0.9039
WCAG relative
Temperature
Warm
35/100 cool
Color family
Green
Tone
Electric
Best ink
Black
19.08:1
Closest name
Pale Goldenrod
ΔE2000 7.1
Where it sits
Hue72° of 360°
Saturation93%
Lightness83%
Temperature
Warm ← → Cool35% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ecfcab
RGBrgb(236, 252, 171)
HSLhsl(72, 93%, 83%)
CMYKcmyk(6%, 0%, 32%, 1%)
LABlab(96.2 -17.8 37.1)
LCHlch(96.2 41.2 115.7)
OKLCHoklch(0.961 0.104 117.5)
Decimal15531179
Display P3color(display-p3 0.925 0.988 0.671)

Copy-ready code

/* CSS */
color: #ecfcab;
background-color: #ecfcab;
/* Tailwind (arbitrary) */
class="text-[#ecfcab] bg-[#ecfcab]"
/* SCSS */
$brand: #ecfcab;
/* SwiftUI */
Color(red: 0.925, green: 0.988, blue: 0.671)
/* Android */
Color.parseColor("#ecfcab")
/* Flutter */
Color(0xFFECFCAB)
/* Python / OpenCV (BGR) */
(171, 252, 236)

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

Accessibility — WCAG contrast

Aa
#ecfcab on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#ecfcab on black: 19.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFF4A5
deuteranopia · #FFF5AF
tritanopia · #F4F3E7

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ecfcab is pinned to step 200; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBFDF2
#F7FBE4
#ecfcab
#E6FB93
#DAF95D
#CEF726
#BFEC08
#9FC507
#7F9E06
#5D7209
#3A4705
Base = 200Lightest = 50 · #FBFDF2Darkest = 950 · #3A4705
:root {
  --brand-50: #FBFDF2;
  --brand-100: #F7FBE4;
  --brand-200: #ecfcab;
  --brand-300: #E6FB93;
  --brand-400: #DAF95D;
  --brand-500: #CEF726;
  --brand-600: #BFEC08;
  --brand-700: #9FC507;
  --brand-800: #7F9E06;
  --brand-900: #5D7209;
  --brand-950: #3A4705;
  --brand: #ecfcab;
  --brand-ink: #000000;
}

Colors that work with #ecfcab

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#F9FAF4
Tinted page background
Border#E4EDC0
Hairlines and dividers
Muted text#8B9B4B
Captions on the surface
Accent#020CCA
Second voice, not a rival
Dark variant#647B04
Hover, pressed, headers
Light variant#F9FEE6
Selected rows, tints
Dark surface#212414
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 #ecfcab

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
  • Card and section backgrounds
  • 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
  • White 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#BBABFC
Analogous left#FCE3AB
Analogous right#C3FCAB
Split-complement 1#ABC3FC
Split-complement 2#E3ABFC
Triadic 1#ABECFC
Triadic 2#FCABEC
Tetradic#ABFCE3

RGB percentages

Red92.5%
Green98.8%
Blue67.1%

CMYK percentages

Cyan6.3%
Magenta0.0%
Yellow32.1%
Key (black)1.2%

Color previews

#ecfcab text on a black background

contrast 19.08:1

Card sample

#ecfcab text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(236, 252, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 252, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecfcab;
background: linear-gradient(135deg, #ecfcab, #B6FCAB);

Monochromatic scale

Palettes built from #ecfcab

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.

#ecfcab 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
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ecfcab, answered

What color is #ecfcab?

#ecfcab is a light electric green, closest to Pale Goldenrod (ΔE2000 7.1). It sits at 72° on the hue wheel with 93% saturation and 83% lightness, which reads as warm.

What is the RGB value of #ecfcab?

rgb(236, 252, 171) — 236 red, 252 green and 171 blue out of 255, or 92.5% / 98.8% / 67.1% by channel.

Is #ecfcab a light or a dark color?

It is a light color. Relative luminance is 0.9039 and perceived brightness is 94%, so black text on it reaches 19.08:1.

Should I use black or white text on #ecfcab?

Black. It scores 19.08:1 against #ecfcab, versus 1.10:1 for white — AAA at any size.

What is the complementary color of #ecfcab?

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

What colors go well with #ecfcab?

For interface work: #F9FAF4 as the surface, #E4EDC0 for borders, #8B9B4B for secondary text, #020CCA as an accent and #647B04 for hover and pressed states. For a palette, the analogous pair #FCE3AB and #C3FCAB stays calm, while #BBABFC is the loudest partner.

What is #ecfcab in CMYK for printing?

cmyk(6%, 0%, 32%, 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 #ecfcab warm or cool?

Warm — it scores 35 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FCEEAB; nudged cooler, #CEFDAA.

Work with #ecfcab in the Color Lab