Skip to content

#ebfbac

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

RGB
235, 251, 172
HSL
72°, 91%, 83%
CMYK
6, 0, 32, 2
Luminance
0.8964

Every format

HEX#ebfbac
RGBrgb(235, 251, 172)
HSLhsl(72, 91%, 83%)
CMYKcmyk(6%, 0%, 32%, 2%)
LABlab(95.8 -17.6 36.2)
LCHlch(95.8 40.3 115.9)
OKLCHoklch(0.958 0.102 117.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green98.4%
Blue67.5%

CMYK percentages

Cyan6.4%
Magenta0.0%
Yellow31.5%
Key (black)1.6%

Color previews

#ebfbac text on a black background

contrast 18.93:1

Card sample

#ebfbac text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebfbac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebfbac in the Color Lab