Maroon Colors  ·  Color Library

Palettes / Colors / #EFEF42

#EFEF42 — Vivid Yellow

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

Color name

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

#EFEF42 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 #4343EF; it also sits naturally between #EF9943 and #99EF43. In the palettes below you can see it working alongside real color combinations from our collection.

#EFEF42 · RGB 239, 239, 66

Download PNG swatch SVG

Color values

HEX#EFEF42
RGB239, 239, 66
HSL60°, 84%, 60%
HSV60°, 72%, 94%
CMYK0%, 0%, 72%, 6%
XYZ67.45, 80.48, 17.13
Yxy80.48, 0.4086, 0.4876
CIE-Lab91.90, -19.10, 78.06
Hunter Lab89.71, -18.28, 48.38

RGB & CMYK percentages

Red 94% · Green 94% · Blue 26%

Cyan 0% · Magenta 0% · Yellow 72% · Key 6%

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

Previews

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

CSS code for #EFEF42

.text { color: #EFEF42; }
.background { background-color: #EFEF42; }
.border { border: 3px solid #EFEF42; }
.text-rgb { color: rgb(239, 239, 66); }
.text-hsl { color: hsl(60, 84%, 60%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #EFEF42; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(239, 239, 66, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #EFEF42; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(239, 239, 66, 0.8); }

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

Shades of #EFEF42

#ECEC27#E6E614#CACA12#B2B210#96960D#7A7A0B#636309#464606#2F2F04#131302

Tints of #EFEF42

#F0F056#F2F264#F3F377#F4F485#F6F698#F8F8AB#F9F9B9#FBFBCB#FCFCD9#FDFDEC

Tones of #EFEF42

#E2E250#D6D65C#CACA68#BEBE74#B1B181#A5A58D

Color harmonies

Complementary — #4343EF:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.23:1 Fails
Against black text17.10:1 AAA

Best text color on #EFEF42: #000000.

Semi-transparent (opacity) text on #EFEF42

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

How #EFEF42 looks with color blindness

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

Protanopia · #EFEF6CDeuteranopia · #EFEF76Tritanopia · #EF8D94

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 #EFEF42 rather than the exact color:

Honey Voyage
#15322D · #FA2598 · #FC43DC · #F2F73C
Modern Monsoon
#1311A2 · #716BEF · #E8EA3B · #F5F0C4
Mellow Ruby Zephyr
#180818 · #2BF7F4 · #FBF23B · #59F826
Amber Garden
#8CAA0F · #E3F04A · #5835EE · #9E92EF
Cosmic Saffron
#0D1721 · #FA2F47 · #FF33CD · #EAFD43
Amber Ruby Ember
#69900E · #E3ED4B · #4E15D4 · #B7A5F0

Similar colors

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

#F2F73C#E8EA3B#FBF23B#E3F04A#EAFD43#E3ED4B#FEEC41#F0FF42#EFFD4A#E3EF4F#F7FE3D#ECE852

Browse neighbouring colors

← #EFEF41  ·  #EFEF43 →

Frequently asked questions

What color is #EFEF42?

#EFEF42 is Vivid Yellow, a yellow color (RGB 239, 239, 66). Its closest standard named color is Yellow.

What is the RGB and HSL of #EFEF42?

#EFEF42 is RGB 239, 239, 66 — HSL 60°, 84%, 60% — CMYK 0%, 0%, 72%, 6%.

What colors go with #EFEF42?

Its complement is #4343EF; analogous partners are #EF9943 and #99EF43. It also appears in 6+ palettes in our collection.

Can I use #EFEF42 for text?

Black text on #EFEF42 has a contrast ratio of 17.10:1 (passes WCAG AA); white text gives 1.23:1.