Skip to content

#ecf6c2

a pale, vivid green · cool · closest name: beige

RGB
236, 246, 194
HSL
72°, 74%, 86%
CMYK
4, 0, 21, 4
Luminance
0.8764

Every format

HEX#ecf6c2
RGBrgb(236, 246, 194)
HSLhsl(72, 74%, 86%)
CMYKcmyk(4%, 0%, 21%, 4%)
LABlab(95.0 -11.8 24.0)
LCHlch(95.0 26.7 116.2)
OKLCHoklch(0.953 0.068 116.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecf6c2 on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#ecf6c2 on black: 18.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green96.5%
Blue76.1%

CMYK percentages

Cyan4.1%
Magenta0.0%
Yellow21.1%
Key (black)3.5%

Color previews

#ecf6c2 text on a black background

contrast 18.53:1

Card sample

#ecf6c2 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecf6c2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecf6c2 in the Color Lab