Skip to content

#ececaf

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

RGB
236, 236, 175
HSL
60°, 62%, 81%
CMYK
0, 0, 26, 8
Luminance
0.8092

Every format

HEX#ececaf
RGBrgb(236, 236, 175)
HSLhsl(60, 62%, 81%)
CMYKcmyk(0%, 0%, 26%, 8%)
LABlab(92.1 -9.4 29.7)
LCHlch(92.1 31.1 107.7)
OKLCHoklch(0.928 0.079 107.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green92.5%
Blue68.6%

CMYK percentages

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

Color previews

#ececaf text on a black background

contrast 17.18:1

Card sample

#ececaf text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ececaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ececaf in the Color Lab