Skip to content

#ebfcab

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

RGB
235, 252, 171
HSL
73°, 93%, 83%
CMYK
7, 0, 32, 1
Luminance
0.9022

Every format

HEX#ebfcab
RGBrgb(235, 252, 171)
HSLhsl(73, 93%, 83%)
CMYKcmyk(7%, 0%, 32%, 1%)
LABlab(96.1 -18.2 37.0)
LCHlch(96.1 41.3 116.2)
OKLCHoklch(0.960 0.104 118.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebfcab on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#ebfcab on black: 19.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green98.8%
Blue67.1%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow32.1%
Key (black)1.2%

Color previews

#ebfcab text on a black background

contrast 19.04:1

Card sample

#ebfcab text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebfcab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebfcab in the Color Lab