Maroon Colors  ·  Color Library

Palettes / Colors / #DEFF02

#DEFF02 — Vivid Yellow

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

#DEFF02 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 #2200FF; it also sits naturally between #FFA200 and #5EFF00. In the palettes below you can see it working alongside real color combinations from our collection.

#DEFF02 · RGB 222, 255, 2

Download PNG swatch SVG

Color values

HEX#DEFF02
RGB222, 255, 2
HSL68°, 100%, 50%
HSV68°, 99%, 100%
CMYK13%, 0%, 99%, 0%
XYZ65.90, 87.05, 13.39
Yxy87.05, 0.3962, 0.5234
CIE-Lab94.76, -34.89, 91.52
Hunter Lab93.30, -32.74, 53.71

RGB & CMYK percentages

Red 87% · Green 100% · Blue 1%

Cyan 13% · Magenta 0% · Yellow 99% · Key 0%

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

Previews

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

CSS code for #DEFF02

.text { color: #DEFF02; }
.background { background-color: #DEFF02; }
.border { border: 3px solid #DEFF02; }
.text-rgb { color: rgb(222, 255, 2); }
.text-hsl { color: hsl(68, 100%, 50%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #DEFF02; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(222, 255, 2, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #DEFF02; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(222, 255, 2, 0.8); }

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

Shades of #DEFF02

#C7E600#B5D100#9FB800#8DA300#778A00#617000#505C00#394200#282E00#121400

Tints of #DEFF02

#E0FF1A#E3FF2E#E7FF47#E9FF5C#EDFF75#F0FF8F#F3FFA3#F6FFBD#F9FFD1#FCFFEB

Tones of #DEFF02

#D0ED12#C2DA25#B5C837#A8B649#9BA45B#8D916E

Color harmonies

Complementary — #2200FF:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.14:1 Fails
Against black text18.41:1 AAA

Best text color on #DEFF02: #000000.

Semi-transparent (opacity) text on #DEFF02

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

How #DEFF02 looks with color blindness

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

Protanopia · #ECED3FDeuteranopia · #EAE84ETritanopia · #E0707A

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

Palette Cff800
#CFF800 · #FEFF92 · #0FEFBD · #7899DC
Palette 000000
#000000 · #F72798 · #F57D1F · #EBF400
Cyber Lime
#0B0C10 · #1F2833 · #C5C6C7 · #D4F000
Palette F7fd04
#F7FD04 · #F9B208 · #F98404 · #FC5404
Palette 063b00
#063B00 · #266210 · #90B800 · #E1E100
Cosmic Ruby Breeze
#330D15 · #DBF720 · #241AFC · #FAE119

Similar colors

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

#CFF800#EBF400#D4F000#F7FD04#E1E100#DBF720#D4F620#FFF100#FCF211#CEE415#F9E400#FCE700

Browse neighbouring colors

← #DEFF01  ·  #DEFF03 →

Frequently asked questions

What color is #DEFF02?

#DEFF02 is Vivid Yellow, a yellow color (RGB 222, 255, 2). Its closest standard named color is Yellow.

What is the RGB and HSL of #DEFF02?

#DEFF02 is RGB 222, 255, 2 — HSL 68°, 100%, 50% — CMYK 13%, 0%, 99%, 0%.

What colors go with #DEFF02?

Its complement is #2200FF; analogous partners are #FFA200 and #5EFF00. It also appears in 6+ palettes in our collection.

Can I use #DEFF02 for text?

Black text on #DEFF02 has a contrast ratio of 18.41:1 (passes WCAG AA); white text gives 1.14:1.