Skip to content

#eafbaf

a light, electric green · cool · closest name: khaki

RGB
234, 251, 175
HSL
73°, 91%, 84%
CMYK
7, 0, 30, 2
Luminance
0.8958

Every format

HEX#eafbaf
RGBrgb(234, 251, 175)
HSLhsl(73, 91%, 84%)
CMYKcmyk(7%, 0%, 30%, 2%)
LABlab(95.8 -17.6 34.7)
LCHlch(95.8 38.9 116.9)
OKLCHoklch(0.958 0.099 118.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eafbaf on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#eafbaf on black: 18.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.8%
Green98.4%
Blue68.6%

CMYK percentages

Cyan6.8%
Magenta0.0%
Yellow30.3%
Key (black)1.6%

Color previews

#eafbaf text on a black background

contrast 18.92:1

Card sample

#eafbaf text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eafbaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eafbaf in the Color Lab