Skip to content

#ecf1d0

a pale, vivid yellow · warm · closest name: Light Goldenrod Yellow

RGB
236, 241, 208
HSL
69°, 54%, 88%
CMYK
2, 0, 14, 6
Luminance
0.8530

At a glance

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

Hex
#ecf1d0
Hue
69°
yellow
Saturation
54%
vivid
Lightness
88%
pale
Brightness
95%
HSV value
Perceived
93%
weighted brightness
Luminance
0.8530
WCAG relative
Temperature
Warm
33/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
18.06:1
Closest name
Light Goldenrod Yellow
ΔE2000 3.3
Where it sits
Hue69° of 360°
Saturation54%
Lightness88%
Temperature
Warm ← → Cool33% 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#ecf1d0
RGBrgb(236, 241, 208)
HSLhsl(69, 54%, 88%)
CMYKcmyk(2%, 0%, 14%, 6%)
LABlab(94.0 -7.2 15.4)
LCHlch(94.0 17.0 115.1)
OKLCHoklch(0.946 0.044 114.2)
Decimal15528400
Display P3color(display-p3 0.925 0.945 0.816)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecf1d0 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#ecf1d0 on black: 18.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F6EDCE
deuteranopia · #F6EED1
tritanopia · #F0EDE8

Color scale — 50 to 950

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

#FAFBF4
#F4F6E9
#ecf1d0
#DCE5A9
#CBD87D
#B9CC52
#A9BD38
#8C9D2F
#707E25
#525C1F
#343913
Base = 200Lightest = 50 · #FAFBF4Darkest = 950 · #343913
:root {
  --brand-50: #FAFBF4;
  --brand-100: #F4F6E9;
  --brand-200: #ecf1d0;
  --brand-300: #DCE5A9;
  --brand-400: #CBD87D;
  --brand-500: #B9CC52;
  --brand-600: #A9BD38;
  --brand-700: #8C9D2F;
  --brand-800: #707E25;
  --brand-900: #525C1F;
  --brand-950: #343913;
  --brand: #ecf1d0;
  --brand-ink: #000000;
}

Colors that work with #ecf1d0

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#E6ECC0
Hairlines and dividers
Muted text#8F9B4B
Captions on the surface
Accent#2B35A1
Second voice, not a rival
Dark variant#58621D
Hover, pressed, headers
Light variant#F7F9EB
Selected rows, tints
Dark surface#222414
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 #ecf1d0

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
  • Thin strokes and 1px borders — they disappear on light UI
  • 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#D5D0F1
Analogous left#F1E5D0
Analogous right#DBF1D0
Split-complement 1#D0DBF1
Split-complement 2#E5D0F1
Triadic 1#D0ECF1
Triadic 2#F1D0EC
Tetradic#D0F1E5

RGB percentages

Red92.5%
Green94.5%
Blue81.6%

CMYK percentages

Cyan2.1%
Magenta0.0%
Yellow13.7%
Key (black)5.5%

Color previews

#ecf1d0 text on a black background

contrast 18.06:1

Card sample

#ecf1d0 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecf1d0

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.

#ecf1d0 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

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

#ecf1d0, answered

What color is #ecf1d0?

#ecf1d0 is a pale vivid yellow, closest to Light Goldenrod Yellow (ΔE2000 3.3). It sits at 69° on the hue wheel with 54% saturation and 88% lightness, which reads as warm.

What is the RGB value of #ecf1d0?

rgb(236, 241, 208) — 236 red, 241 green and 208 blue out of 255, or 92.5% / 94.5% / 81.6% by channel.

Is #ecf1d0 a light or a dark color?

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

Should I use black or white text on #ecf1d0?

Black. It scores 18.06:1 against #ecf1d0, versus 1.16:1 for white — AAA at any size.

What is the complementary color of #ecf1d0?

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

What colors go well with #ecf1d0?

For interface work: #F9FAF4 as the surface, #E6ECC0 for borders, #8F9B4B for secondary text, #2B35A1 as an accent and #58621D for hover and pressed states. For a palette, the analogous pair #F1E5D0 and #DBF1D0 stays calm, while #D5D0F1 is the loudest partner.

What is #ecf1d0 in CMYK for printing?

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

Is #ecf1d0 warm or cool?

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

Work with #ecf1d0 in the Color Lab