Skip to content

#ececc4

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

RGB
236, 236, 196
HSL
60°, 51%, 85%
CMYK
0, 0, 17, 8
Luminance
0.8181

At a glance

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

Hex
#ececc4
Hue
60°
yellow
Saturation
51%
vivid
Lightness
85%
light
Brightness
93%
HSV value
Perceived
91%
weighted brightness
Luminance
0.8181
WCAG relative
Temperature
Warm
25/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
17.36:1
Closest name
Light Goldenrod Yellow
ΔE2000 2.9
Where it sits
Hue60° of 360°
Saturation51%
Lightness85%
Temperature
Warm ← → Cool25% 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#ececc4
RGBrgb(236, 236, 196)
HSLhsl(60, 51%, 85%)
CMYKcmyk(0%, 0%, 17%, 8%)
LABlab(92.5 -6.5 19.4)
LCHlch(92.5 20.5 108.5)
OKLCHoklch(0.933 0.052 107.4)
Decimal15527108
Display P3color(display-p3 0.925 0.925 0.769)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ececc4 on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#ececc4 on black: 17.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F3E8C2
deuteranopia · #F4EAC5
tritanopia · #F2E7E1

Color scale — 50 to 950

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

#FAFAF4
#F6F6EA
#ececc4
#E4E4AA
#D6D680
#C8C855
#B9B93C
#9A9A32
#7B7B28
#5A5A20
#383814
Base = 200Lightest = 50 · #FAFAF4Darkest = 950 · #383814
:root {
  --brand-50: #FAFAF4;
  --brand-100: #F6F6EA;
  --brand-200: #ececc4;
  --brand-300: #E4E4AA;
  --brand-400: #D6D680;
  --brand-500: #C8C855;
  --brand-600: #B9B93C;
  --brand-700: #9A9A32;
  --brand-800: #7B7B28;
  --brand-900: #5A5A20;
  --brand-950: #383814;
  --brand: #ececc4;
  --brand-ink: #000000;
}

Colors that work with #ececc4

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#FAFAF4
Tinted page background
Border#EBEBC1
Hairlines and dividers
Muted text#9B9B4B
Captions on the surface
Accent#2C49A0
Second voice, not a rival
Dark variant#60601F
Hover, pressed, headers
Light variant#F9F9EC
Selected rows, tints
Dark surface#242414
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 #ececc4

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#C4C4EC
Analogous left#ECD8C4
Analogous right#D8ECC4
Split-complement 1#C4D8EC
Split-complement 2#D8C4EC
Triadic 1#C4ECEC
Triadic 2#ECC4EC
Tetradic#C4ECD8

RGB percentages

Red92.5%
Green92.5%
Blue76.9%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow16.9%
Key (black)7.5%

Color previews

#ececc4 text on a black background

contrast 17.36:1

Card sample

#ececc4 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ececc4

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.

#ececc4 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.

#ececc4, answered

What color is #ececc4?

#ececc4 is a light vivid yellow, closest to Light Goldenrod Yellow (ΔE2000 2.9). It sits at 60° on the hue wheel with 51% saturation and 85% lightness, which reads as warm.

What is the RGB value of #ececc4?

rgb(236, 236, 196) — 236 red, 236 green and 196 blue out of 255, or 92.5% / 92.5% / 76.9% by channel.

Is #ececc4 a light or a dark color?

It is a light color. Relative luminance is 0.8181 and perceived brightness is 91%, so black text on it reaches 17.36:1.

Should I use black or white text on #ececc4?

Black. It scores 17.36:1 against #ececc4, versus 1.21:1 for white — AAA at any size.

What is the complementary color of #ececc4?

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

What colors go well with #ececc4?

For interface work: #FAFAF4 as the surface, #EBEBC1 for borders, #9B9B4B for secondary text, #2C49A0 as an accent and #60601F for hover and pressed states. For a palette, the analogous pair #ECD8C4 and #D8ECC4 stays calm, while #C4C4EC is the loudest partner.

What is #ececc4 in CMYK for printing?

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

Is #ececc4 warm or cool?

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

Work with #ececc4 in the Color Lab