Maroon Colors  ·  Color Library

Palettes / Colors / #ECD240

#ECD240 — Vivid Yellow

#ECD240 is a yellow color we call Vivid Yellow, closest to the named color SandyBrown (#F4A460). It belongs to the yellow family.

Color name

Closest CSS keyword: sandybrown (#F4A460) — not an exact match. CSS sandybrown gives you #F4A460, a different color; use #ECD240 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.

#ECD240 is a warm yellow color associated with optimism, attention and cheer. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

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

#ECD240 · RGB 236, 210, 64

Download PNG swatch SVG

Color values

HEX#ECD240
RGB236, 210, 64
HSL51°, 82%, 59%
HSV51°, 73%, 93%
CMYK0%, 11%, 73%, 7%
XYZ58.56, 64.30, 14.17
Yxy64.30, 0.4274, 0.4692
CIE-Lab84.12, -6.08, 71.26
Hunter Lab80.18, -5.76, 42.87

RGB & CMYK percentages

Red 93% · Green 82% · Blue 25%

Cyan 0% · Magenta 11% · Yellow 73% · Key 7%

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

Previews

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

CSS code for #ECD240

.text { color: #ECD240; }
.background { background-color: #ECD240; }
.border { border: 3px solid #ECD240; }
.text-rgb { color: rgb(236, 210, 64); }
.text-hsl { color: hsl(51, 82%, 59%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #ECD240; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(236, 210, 64, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #ECD240; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(236, 210, 64, 0.8); }

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

Shades of #ECD240

#EACD2A#DFC116#C8AD14#AC9511#95800F#79680C#61540A#463C07#2E2805#131002

Tints of #ECD240

#EED753#EFDA61#F1DE74#F3E386#F5E799#F6EAA7#F8EFB9#FAF3CC#FBF6DA#FDFBEC

Tones of #ECD240

#E0CA4D#D4C259#C8B965#BBB072#AEA77E#A39F8A

Color harmonies

Complementary — #415AEC:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.52:1 Fails
Against black text13.86:1 AAA

Best text color on #ECD240: #000000.

Semi-transparent (opacity) text on #ECD240

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 #ECD240: ·

How #ECD240 looks with color blindness

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

Protanopia · #E1E163Deuteranopia · #E2E46CTritanopia · #EB7F85

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:

Material Yellow 500 · #FFEB3BMaterial Lime 500 · #CDDC39Material Amber 500 · #FFC107

Palettes with a similar color

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

Palette Ffef82
#FFEF82 · #EFD345 · #BABD42 · #82954B
Gentle Garden
#1136C9 · #5E86F1 · #EFCC41 · #F2F0A6
Silent Marble
#DF3D9D · #DC3244 · #CC601B · #E4D03E
Dusty Cinder
#8F600C · #EFD448 · #5089F0 · #A1B8F1
Silent Canyon
#E08B56 · #E5D93C · #A1E752 · #61E664
Crystal Ruby Meadow
#9E2523 · #CE8B23 · #F6D146 · #F6E9B5

Similar colors

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

#EFD345#EFCC41#E4D03E#EFD448#E5D93C#F6D146#E5D549#E6CB38#E1CB3D#F9CB43#F2DF3A#F8D64B

Browse neighbouring colors

← #ECD23F  ·  #ECD241 →

Frequently asked questions

What color is #ECD240?

#ECD240 is Vivid Yellow, a yellow color (RGB 236, 210, 64). Its closest standard named color is SandyBrown.

What is the RGB and HSL of #ECD240?

#ECD240 is RGB 236, 210, 64 — HSL 51°, 82%, 59% — CMYK 0%, 11%, 73%, 7%.

What colors go with #ECD240?

Its complement is #415AEC; analogous partners are #EC7D41 and #B0EC41. It also appears in 6+ palettes in our collection.

Can I use #ECD240 for text?

Black text on #ECD240 has a contrast ratio of 13.86:1 (passes WCAG AA); white text gives 1.52:1.