Skip to content

#ecedaf

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

RGB
236, 237, 175
HSL
61°, 63%, 81%
CMYK
0, 0, 26, 7
Luminance
0.8150

Every format

HEX#ecedaf
RGBrgb(236, 237, 175)
HSLhsl(61, 63%, 81%)
CMYKcmyk(0%, 0%, 26%, 7%)
LABlab(92.3 -9.9 30.0)
LCHlch(92.3 31.6 108.3)
OKLCHoklch(0.931 0.080 108.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow26.2%
Key (black)7.1%

Color previews

#ecedaf text on a black background

contrast 17.30:1

Card sample

#ecedaf text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecedaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecedaf in the Color Lab