Skip to content

#ecf2da

a pale, vivid green · warm · closest name: Beige

RGB
236, 242, 218
HSL
75°, 48%, 90%
CMYK
3, 0, 10, 5
Luminance
0.8640

At a glance

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

Hex
#ecf2da
Hue
75°
green
Saturation
48%
vivid
Lightness
90%
pale
Brightness
95%
HSV value
Perceived
93%
weighted brightness
Luminance
0.8640
WCAG relative
Temperature
Warm
38/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
18.28:1
Closest name
Beige
ΔE2000 2.6
Where it sits
Hue75° of 360°
Saturation48%
Lightness90%
Temperature
Warm ← → Cool38% 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#ecf2da
RGBrgb(236, 242, 218)
HSLhsl(75, 48%, 90%)
CMYKcmyk(3%, 0%, 10%, 5%)
LABlab(94.5 -6.1 10.9)
LCHlch(94.5 12.5 119.3)
OKLCHoklch(0.950 0.032 118.4)
Decimal15528666
Display P3color(display-p3 0.925 0.949 0.855)

Copy-ready code

/* CSS */
color: #ecf2da;
background-color: #ecf2da;
/* Tailwind (arbitrary) */
class="text-[#ecf2da] bg-[#ecf2da]"
/* SCSS */
$brand: #ecf2da;
/* SwiftUI */
Color(red: 0.925, green: 0.949, blue: 0.855)
/* Android */
Color.parseColor("#ecf2da")
/* Flutter */
Color(0xFFECF2DA)
/* Python / OpenCV (BGR) */
(218, 242, 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 #ecf2da · 18.28:1
Use #000000AAA at every size.
Aa
White text · 1.15:1
AA fail · AA large fail · AAA fail
Aa
Black text · 18.28:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ecf2da as text scores 1.15:1 on white and 18.28:1 on black.

Accessibility — WCAG contrast

Aa
#ecf2da on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#ecf2da on black: 18.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F6EFD9
deuteranopia · #F5EFDB
tritanopia · #EFEFEB

Color scale — 50 to 950

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

#F9FAF4
#F3F5EA
#ecf2da
#D4E2AC
#BFD382
#AAC559
#98B540
#7E9735
#65792A
#4B5822
#2F3715
Base = 200Lightest = 50 · #F9FAF4Darkest = 950 · #2F3715
:root {
  --brand-50: #F9FAF4;
  --brand-100: #F3F5EA;
  --brand-200: #ecf2da;
  --brand-300: #D4E2AC;
  --brand-400: #BFD382;
  --brand-500: #AAC559;
  --brand-600: #98B540;
  --brand-700: #7E9735;
  --brand-800: #65792A;
  --brand-900: #4B5822;
  --brand-950: #2F3715;
  --brand: #ecf2da;
  --brand-ink: #000000;
}

Colors that work with #ecf2da

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#E0EAC3
Hairlines and dividers
Muted text#879B4B
Captions on the surface
Accent#31319B
Second voice, not a rival
Dark variant#4F5E21
Hover, pressed, headers
Light variant#F5F8EC
Selected rows, tints
Dark surface#202414
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 #ecf2da

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#E0DAF2
Analogous left#F2ECDA
Analogous right#E0F2DA
Split-complement 1#DAE0F2
Split-complement 2#ECDAF2
Triadic 1#DAECF2
Triadic 2#F2DAEC
Tetradic#DAF2EC

RGB percentages

Red92.5%
Green94.9%
Blue85.5%

CMYK percentages

Cyan2.5%
Magenta0.0%
Yellow9.9%
Key (black)5.1%

Color previews

#ecf2da text on a black background

contrast 18.28:1

Card sample

#ecf2da text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecf2da

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.

#ecf2da 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

Very light tints can drop out on uncoated stock; check it at 100% size before signing off.

#ecf2da, answered

What color is #ecf2da?

#ecf2da is a pale vivid green, closest to Beige (ΔE2000 2.6). It sits at 75° on the hue wheel with 48% saturation and 90% lightness, which reads as warm.

What is the RGB value of #ecf2da?

rgb(236, 242, 218) — 236 red, 242 green and 218 blue out of 255, or 92.5% / 94.9% / 85.5% by channel.

Is #ecf2da a light or a dark color?

It is a light color. Relative luminance is 0.8640 and perceived brightness is 93%, so black text on it reaches 18.28:1.

Should I use black or white text on #ecf2da?

Black. It scores 18.28:1 against #ecf2da, versus 1.15:1 for white — AAA at any size.

What is the complementary color of #ecf2da?

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

What colors go well with #ecf2da?

For interface work: #F9FAF4 as the surface, #E0EAC3 for borders, #879B4B for secondary text, #31319B as an accent and #4F5E21 for hover and pressed states. For a palette, the analogous pair #F2ECDA and #E0F2DA stays calm, while #E0DAF2 is the loudest partner.

What is #ecf2da in CMYK for printing?

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

Is #ecf2da warm or cool?

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

Work with #ecf2da in the Color Lab