Maroon Colors  ·  Color Library

Palettes / Colors / #EBFA97

#EBFA97 — Light Vivid Yellow

#EBFA97 is a yellow color we call Light Vivid Yellow, closest to the named color Khaki (#F0E68C). It belongs to the yellow family.

Color name

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

#EBFA97 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 #A799FA; it also sits naturally between #FAD899 and #BBFA99. In the palettes below you can see it working alongside real color combinations from our collection.

#EBFA97 · RGB 235, 250, 151

Download PNG swatch SVG

Color values

HEX#EBFA97
RGB235, 250, 151
HSL69°, 91%, 79%
HSV69°, 40%, 98%
CMYK6%, 0%, 40%, 2%
XYZ74.03, 88.27, 42.41
Yxy88.27, 0.3616, 0.4312
CIE-Lab95.27, -19.58, 45.79
Hunter Lab93.95, -19.04, 35.19

RGB & CMYK percentages

Red 92% · Green 98% · Blue 59%

Cyan 6% · Magenta 0% · Yellow 40% · Key 2%

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

Previews

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

CSS code for #EBFA97

.text { color: #EBFA97; }
.background { background-color: #EBFA97; }
.border { border: 3px solid #EBFA97; }
.text-rgb { color: rgb(235, 250, 151); }
.text-hsl { color: hsl(69, 91%, 79%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #EBFA97; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(235, 250, 151, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #EBFA97; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(235, 250, 151, 0.8); }

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

Shades of #EBFA97

#E5F977#DEF750#D7F52E#CDEF0B#AFCD0A#8EA608#718406#4F5D04#323A03#111301

Tints of #EBFA97

#EDFBA2#EEFBA7#F0FBB1#F2FCBB#F4FCC5#F5FCC9#F7FDD3#F9FDDD#F9FEE2#FBFEEC

Tones of #EBFA97

#E7F3A0#E2ECA7#DDE5AE#D8DEB5#D3D7BC#CED0C2

Color harmonies

Complementary — #A799FA:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.13:1 Fails
Against black text18.65:1 AAA

Best text color on #EBFA97: #000000.

Semi-transparent (opacity) text on #EBFA97

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

How #EBFA97 looks with color blindness

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

Protanopia · #F1F2AFDeuteranopia · #F1F0B5Tritanopia · #ECC2C6

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 · #FFEB3BBootstrap light · #F8F9FAMaterial Lime 500 · #CDDC39

Palettes with a similar color

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

Palette E8f79a
#E8F79A · #49D292 · #3B445B · #383746
Palette E9ff97
#E9FF97 · #FFD18E · #FFA38F · #FF7EE2
Palette 006769
#006769 · #40A578 · #9DDE8B · #E6FF94
Palette 041122
#041122 · #259073 · #7FDA89 · #E6F99D
Palette 211c6a
#211C6A · #59B4C3 · #74E291 · #EFF396
Palette 068b78
#068B78 · #9ED79A · #F2FF97 · #FFCF5E

Similar colors

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

#E8F79A#E9FF97#E6FF94#E6F99D#EFF396#F2FF97#F2F597#EEF296#EBEF95#EAEF9B#F3FF90#F2F7A0

Browse neighbouring colors

← #EBFA96  ·  #EBFA98 →

Frequently asked questions

What color is #EBFA97?

#EBFA97 is Light Vivid Yellow, a yellow color (RGB 235, 250, 151). Its closest standard named color is Khaki.

What is the RGB and HSL of #EBFA97?

#EBFA97 is RGB 235, 250, 151 — HSL 69°, 91%, 79% — CMYK 6%, 0%, 40%, 2%.

What colors go with #EBFA97?

Its complement is #A799FA; analogous partners are #FAD899 and #BBFA99. It also appears in 6+ palettes in our collection.

Can I use #EBFA97 for text?

Black text on #EBFA97 has a contrast ratio of 18.65:1 (passes WCAG AA); white text gives 1.13:1.