Skip to content

#ebfeaf

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

RGB
235, 254, 175
HSL
74°, 98%, 84%
CMYK
8, 0, 31, 0
Luminance
0.9164

Every format

HEX#ebfeaf
RGBrgb(235, 254, 175)
HSLhsl(74, 98%, 84%)
CMYKcmyk(8%, 0%, 31%, 0%)
LABlab(96.7 -18.7 35.8)
LCHlch(96.7 40.4 117.5)
OKLCHoklch(0.965 0.102 119.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebfeaf on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#ebfeaf on black: 19.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green99.6%
Blue68.6%

CMYK percentages

Cyan7.5%
Magenta0.0%
Yellow31.1%
Key (black)0.4%

Color previews

#ebfeaf text on a black background

contrast 19.33:1

Card sample

#ebfeaf text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebfeaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebfeaf in the Color Lab