Maroon Colors  ·  Color Library

Palettes / Colors / #ECEFA2

#ECEFA2 — Light Yellow

#ECEFA2 is a yellow color we call Light Yellow, closest to the named color PaleGoldenRod (#EEE8AA). It belongs to the yellow family.

Color name

Closest CSS keyword: palegoldenrod (#EEE8AA) — not an exact match. CSS palegoldenrod gives you #EEE8AA, a different color; use #ECEFA2 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#ECEFA2 is a warm yellow color associated with optimism, attention and cheer. It is light enough to work as a background or base color, with darker text on top.

Its strongest partner is its complement #A6A3EF; it also sits naturally between #EFCCA3 and #C7EFA3. In the palettes below you can see it working alongside real color combinations from our collection.

#ECEFA2 · RGB 236, 239, 162

Download PNG swatch SVG

Color values

HEX#ECEFA2
RGB236, 239, 162
HSL62°, 71%, 79%
HSV62°, 32%, 94%
CMYK1%, 0%, 32%, 6%
XYZ71.98, 82.17, 46.25
Yxy82.17, 0.3592, 0.4100
CIE-Lab92.65, -12.58, 36.99
Hunter Lab90.65, -12.25, 29.36

RGB & CMYK percentages

Red 93% · Green 94% · Blue 64%

Cyan 1% · Magenta 0% · Yellow 32% · Key 6%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #ECEFA2 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #ECEFA2 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #ECEFA2

.text { color: #ECEFA2; }
.background { background-color: #ECEFA2; }
.border { border: 3px solid #ECEFA2; }
.text-rgb { color: rgb(236, 239, 162); }
.text-hsl { color: hsl(62, 71%, 79%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #ECEFA2; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(236, 239, 162, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #ECEFA2; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(236, 239, 162, 0.8); }

HTML: <p style="color:#ECEFA2">Text here</p> · <div style="background-color:#ECEFA2">Div content here</div>

Shades of #ECEFA2

#E7EA85#E0E462#DADF43#D0D624#B2B71F#909419#727614#51530E#333409#111103

Tints of #ECEFA2

#EFF1AC#F0F2B1#F1F3B9#F3F5C2#F5F6CB#F6F7CF#F7F8D8#F9FAE0#FAFBE5#FCFCEE

Tones of #ECEFA2

#E8EAA9#E3E5AE#DEDFB3#D8DAB9#D3D4BF#CECFC4

Color harmonies

Complementary — #A6A3EF:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.20:1 Fails
Against black text17.43:1 AAA

Best text color on #ECEFA2: #000000.

Semi-transparent (opacity) text on #ECEFA2

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #ECEFA2: ·

How #ECEFA2 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #EDEDB5Deuteranopia · #EDEDB9Tritanopia · #ECC3C7

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Bootstrap light · #F8F9FAMaterial Yellow 500 · #FFEB3BMaterial Lime 500 · #CDDC39

Palettes with a similar color

These palettes use a close neighbour of #ECEFA2 rather than the exact color:

Palette 9cf196
#9CF196 · #ECEBA7 · #EBCE95 · #EDAAAA
Royal Cascade
#2D13C1 · #6637EB · #BEDB16 · #E7F0A6
Gentle Garden
#1136C9 · #5E86F1 · #EFCC41 · #F2F0A6
Palette 22213d
#22213D · #4E3188 · #24BABC · #EAEF9B
Palette F2f1a7
#F2F1A7 · #EF5959 · #B43144 · #88A9F7
Palette B2b377
#B2B377 · #D2D180 · #E5E483 · #F1F5A8

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#ECEBA7#E7F0A6#F2F0A6#EAEF9B#F2F1A7#F1F5A8#F0F8A4#F2F7A1#F2F7A0#F1EB9A#F6F1A1#F1EF99

Browse neighbouring colors

← #ECEFA1  ·  #ECEFA3 →

Frequently asked questions

What color is #ECEFA2?

#ECEFA2 is Light Yellow, a yellow color (RGB 236, 239, 162). Its closest standard named color is PaleGoldenRod.

What is the RGB and HSL of #ECEFA2?

#ECEFA2 is RGB 236, 239, 162 — HSL 62°, 71%, 79% — CMYK 1%, 0%, 32%, 6%.

What colors go with #ECEFA2?

Its complement is #A6A3EF; analogous partners are #EFCCA3 and #C7EFA3. It also appears in 6+ palettes in our collection.

Can I use #ECEFA2 for text?

Black text on #ECEFA2 has a contrast ratio of 17.43:1 (passes WCAG AA); white text gives 1.20:1.