Skip to content

#ececc2

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

RGB
236, 236, 194
HSL
60°, 53%, 84%
CMYK
0, 0, 18, 8
Luminance
0.8172

Every format

HEX#ececc2
RGBrgb(236, 236, 194)
HSLhsl(60, 53%, 84%)
CMYKcmyk(0%, 0%, 18%, 8%)
LABlab(92.5 -6.8 20.4)
LCHlch(92.5 21.5 108.4)
OKLCHoklch(0.932 0.055 107.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ececc2 on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#ececc2 on black: 17.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green92.5%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow17.8%
Key (black)7.5%

Color previews

#ececc2 text on a black background

contrast 17.34:1

Card sample

#ececc2 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ececc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ececc2 in the Color Lab