Skip to content

#ececb8

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

RGB
236, 236, 184
HSL
60°, 58%, 82%
CMYK
0, 0, 22, 8
Luminance
0.8128

Every format

HEX#ececb8
RGBrgb(236, 236, 184)
HSLhsl(60, 58%, 82%)
CMYKcmyk(0%, 0%, 22%, 8%)
LABlab(92.3 -8.2 25.3)
LCHlch(92.3 26.6 108.0)
OKLCHoklch(0.930 0.067 107.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ececb8 on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#ececb8 on black: 17.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green92.5%
Blue72.2%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow22.0%
Key (black)7.5%

Color previews

#ececb8 text on a black background

contrast 17.26:1

Card sample

#ececb8 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ececb8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ececb8 in the Color Lab