Skip to content

#ecf3b8

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

RGB
236, 243, 184
HSL
67°, 71%, 84%
CMYK
3, 0, 24, 5
Luminance
0.8539

Every format

HEX#ecf3b8
RGBrgb(236, 243, 184)
HSLhsl(67, 71%, 84%)
CMYKcmyk(3%, 0%, 24%, 5%)
LABlab(94.0 -11.7 27.8)
LCHlch(94.0 30.1 112.9)
OKLCHoklch(0.945 0.076 113.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecf3b8 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#ecf3b8 on black: 18.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green95.3%
Blue72.2%

CMYK percentages

Cyan2.9%
Magenta0.0%
Yellow24.3%
Key (black)4.7%

Color previews

#ecf3b8 text on a black background

contrast 18.08:1

Card sample

#ecf3b8 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecf3b8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecf3b8 in the Color Lab