Skip to content

#eaf0af

a light, vivid yellow · cool · closest name: khaki

RGB
234, 240, 175
HSL
66°, 68%, 81%
CMYK
3, 0, 27, 6
Luminance
0.8291

Every format

HEX#eaf0af
RGBrgb(234, 240, 175)
HSLhsl(66, 68%, 81%)
CMYKcmyk(3%, 0%, 27%, 6%)
LABlab(93.0 -12.2 30.8)
LCHlch(93.0 33.2 111.6)
OKLCHoklch(0.935 0.084 112.3)

Copy-ready code

/* CSS */
color: #eaf0af;
background-color: #eaf0af;
/* Tailwind (arbitrary) */
class="text-[#eaf0af] bg-[#eaf0af]"
/* SCSS */
$brand: #eaf0af;
/* SwiftUI */
Color(red: 0.918, green: 0.941, blue: 0.686)
/* Android */
Color.parseColor("#eaf0af")

Accessibility — WCAG contrast

Aa
#eaf0af on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#eaf0af on black: 17.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.8%
Green94.1%
Blue68.6%

CMYK percentages

Cyan2.5%
Magenta0.0%
Yellow27.1%
Key (black)5.9%

Color previews

#eaf0af text on a black background

contrast 17.58:1

Card sample

#eaf0af text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #eaf0af;
Background color
Panel with #eaf0af background
background-color: #eaf0af;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #eaf0af;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(234, 240, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(234, 240, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eaf0af;
background: linear-gradient(135deg, #eaf0af, #BFF0AF);

Monochromatic scale

Palettes built from #eaf0af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eaf0af in the Color Lab