Maroon Colors  ·  Color Library

Palettes / Colors / #DFEF31

#DFEF31 — Vivid Yellow

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

Color name

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

#DFEF31 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 #3E2EEF; it also sits naturally between #EF9F2E and #7FEF2E. In the palettes below you can see it working alongside real color combinations from our collection.

#DFEF31 · RGB 223, 239, 49

Download PNG swatch SVG

Color values

HEX#DFEF31
RGB223, 239, 49
HSL65°, 86%, 56%
HSV65°, 79%, 94%
CMYK7%, 0%, 79%, 6%
XYZ61.85, 77.64, 14.63
Yxy77.64, 0.4013, 0.5038
CIE-Lab90.62, -26.27, 81.38
Hunter Lab88.12, -24.58, 48.85

RGB & CMYK percentages

Red 87% · Green 94% · Blue 19%

Cyan 7% · Magenta 0% · Yellow 79% · Key 6%

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

Previews

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

CSS code for #DFEF31

.text { color: #DFEF31; }
.background { background-color: #DFEF31; }
.border { border: 3px solid #DFEF31; }
.text-rgb { color: rgb(223, 239, 49); }
.text-hsl { color: hsl(65, 86%, 56%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #DFEF31; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(223, 239, 49, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #DFEF31; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(223, 239, 49, 0.8); }

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

Shades of #DFEF31

#DCEE17#C9DA10#AFBE0E#99A60C#838E0B#6D7709#585F07#3D4205#272B03#121301

Tints of #DFEF31

#E2F141#E5F254#E8F467#EBF57A#EEF68D#F1F8A0#F3F9B3#F6FBC6#F9FCD9#FCFEEC

Tones of #DFEF31

#D4E23C#C8D34A#BDC658#B1B865#A6AB73#9A9C81

Color harmonies

Complementary — #3E2EEF:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.27:1 Fails
Against black text16.53:1 AAA

Best text color on #DFEF31: #000000.

Semi-transparent (opacity) text on #DFEF31

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

How #DFEF31 looks with color blindness

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

Protanopia · #E6E65FDeuteranopia · #E5E46ATritanopia · #E0838B

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 Lime 500 · #CDDC39Material Yellow 500 · #FFEB3BMaterial Amber 500 · #FFC107

Palettes with a similar color

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

Rustic Tempest
#D6EB2C · #71DE38 · #20BD40 · #5BE9C5
Crimson Meadow
#9BB911 · #D4EC2E · #411CEA · #C1BDF5
Honey Ruby Zephyr
#2C1012 · #E3F838 · #52FE48 · #B04AFF
Modern Monsoon
#1311A2 · #716BEF · #E8EA3B · #F5F0C4
Amber Ruby Breeze
#8A9416 · #E1E237 · #6358E7 · #B3ACED
Scarlet Ruby Zephyr
#C51535 · #E68B6C · #DEA72A · #D1E92C

Similar colors

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

#D6EB2C#D4EC2E#E3F838#E8EA3B#E1E237#D1E92C#E4FF30#EDEA27#D8E324#DBF720#ECFD33#DDDB30

Browse neighbouring colors

← #DFEF30  ·  #DFEF32 →

Frequently asked questions

What color is #DFEF31?

#DFEF31 is Vivid Yellow, a yellow color (RGB 223, 239, 49). Its closest standard named color is GreenYellow.

What is the RGB and HSL of #DFEF31?

#DFEF31 is RGB 223, 239, 49 — HSL 65°, 86%, 56% — CMYK 7%, 0%, 79%, 6%.

What colors go with #DFEF31?

Its complement is #3E2EEF; analogous partners are #EF9F2E and #7FEF2E. It also appears in 6+ palettes in our collection.

Can I use #DFEF31 for text?

Black text on #DFEF31 has a contrast ratio of 16.53:1 (passes WCAG AA); white text gives 1.27:1.