Skip to content

#ececad

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

RGB
236, 236, 173
HSL
60°, 62%, 80%
CMYK
0, 0, 27, 8
Luminance
0.8084

Every format

HEX#ececad
RGBrgb(236, 236, 173)
HSLhsl(60, 62%, 80%)
CMYKcmyk(0%, 0%, 27%, 8%)
LABlab(92.1 -9.7 30.6)
LCHlch(92.1 32.1 107.6)
OKLCHoklch(0.928 0.081 107.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green92.5%
Blue67.8%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow26.7%
Key (black)7.5%

Color previews

#ececad text on a black background

contrast 17.17:1

Card sample

#ececad text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ececad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ececad in the Color Lab