Skip to content

#ecf5bc

a light, vivid yellow · warm · closest name: Pale Goldenrod

RGB
236, 245, 188
HSL
70°, 74%, 85%
CMYK
4, 0, 23, 4
Luminance
0.8677

At a glance

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

Hex
#ecf5bc
Hue
70°
yellow
Saturation
74%
vivid
Lightness
85%
light
Brightness
96%
HSV value
Perceived
93%
weighted brightness
Luminance
0.8677
WCAG relative
Temperature
Warm
33/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
18.35:1
Closest name
Pale Goldenrod
ΔE2000 5
Where it sits
Hue70° of 360°
Saturation74%
Lightness85%
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#ecf5bc
RGBrgb(236, 245, 188)
HSLhsl(70, 74%, 85%)
CMYKcmyk(4%, 0%, 23%, 4%)
LABlab(94.6 -12.2 26.5)
LCHlch(94.6 29.2 114.6)
OKLCHoklch(0.950 0.074 115.1)
Decimal15529404
Display P3color(display-p3 0.925 0.961 0.737)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecf5bc on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#ecf5bc on black: 18.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FDEFB8
deuteranopia · #FDF0BE
tritanopia · #F3EEE6

Color scale — 50 to 950

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

#FAFCF3
#F6F9E7
#ecf5bc
#E3F09D
#D5E96D
#C8E23C
#B8D520
#9AB11B
#7B8E15
#5A6714
#38400C
Base = 200Lightest = 50 · #FAFCF3Darkest = 950 · #38400C
:root {
  --brand-50: #FAFCF3;
  --brand-100: #F6F9E7;
  --brand-200: #ecf5bc;
  --brand-300: #E3F09D;
  --brand-400: #D5E96D;
  --brand-500: #C8E23C;
  --brand-600: #B8D520;
  --brand-700: #9AB11B;
  --brand-800: #7B8E15;
  --brand-900: #5A6714;
  --brand-950: #38400C;
  --brand: #ecf5bc;
  --brand-ink: #000000;
}

Colors that work with #ecf5bc

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#E6EDC0
Hairlines and dividers
Muted text#8E9B4B
Captions on the surface
Accent#1525B7
Second voice, not a rival
Dark variant#606F11
Hover, pressed, headers
Light variant#F9FCE9
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 #ecf5bc

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#C5BCF5
Analogous left#F5E2BC
Analogous right#CFF5BC
Split-complement 1#BCCFF5
Split-complement 2#E2BCF5
Triadic 1#BCECF5
Triadic 2#F5BCEC
Tetradic#BCF5E2

RGB percentages

Red92.5%
Green96.1%
Blue73.7%

CMYK percentages

Cyan3.7%
Magenta0.0%
Yellow23.3%
Key (black)3.9%

Color previews

#ecf5bc text on a black background

contrast 18.35:1

Card sample

#ecf5bc text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecf5bc

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.

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

Converts to four-color process without much drama. Proof it anyway.

#ecf5bc, answered

What color is #ecf5bc?

#ecf5bc is a light vivid yellow, closest to Pale Goldenrod (ΔE2000 5). It sits at 70° on the hue wheel with 74% saturation and 85% lightness, which reads as warm.

What is the RGB value of #ecf5bc?

rgb(236, 245, 188) — 236 red, 245 green and 188 blue out of 255, or 92.5% / 96.1% / 73.7% by channel.

Is #ecf5bc a light or a dark color?

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

Should I use black or white text on #ecf5bc?

Black. It scores 18.35:1 against #ecf5bc, versus 1.14:1 for white — AAA at any size.

What is the complementary color of #ecf5bc?

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

What colors go well with #ecf5bc?

For interface work: #F9FAF4 as the surface, #E6EDC0 for borders, #8E9B4B for secondary text, #1525B7 as an accent and #606F11 for hover and pressed states. For a palette, the analogous pair #F5E2BC and #CFF5BC stays calm, while #C5BCF5 is the loudest partner.

What is #ecf5bc in CMYK for printing?

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

Is #ecf5bc 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 #F5E9BC; nudged cooler, #D7F6BB.

Work with #ecf5bc in the Color Lab