Skip to content

#e4ecaf

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

RGB
228, 236, 175
HSL
68°, 62%, 81%
CMYK
3, 0, 26, 8
Luminance
0.7958

Every format

HEX#e4ecaf
RGBrgb(228, 236, 175)
HSLhsl(68, 62%, 81%)
CMYKcmyk(3%, 0%, 26%, 8%)
LABlab(91.5 -12.4 28.8)
LCHlch(91.5 31.3 113.3)
OKLCHoklch(0.922 0.079 114.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e4ecaf on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#e4ecaf on black: 16.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.4%
Green92.5%
Blue68.6%

CMYK percentages

Cyan3.4%
Magenta0.0%
Yellow25.8%
Key (black)7.5%

Color previews

#e4ecaf text on a black background

contrast 16.92:1

Card sample

#e4ecaf text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e4ecaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4ecaf in the Color Lab