Skip to content

#ffedaf

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

RGB
255, 237, 175
HSL
47°, 100%, 84%
CMYK
0, 7, 31, 0
Luminance
0.8492

Every format

HEX#ffedaf
RGBrgb(255, 237, 175)
HSLhsl(47, 100%, 84%)
CMYKcmyk(0%, 7%, 31%, 0%)
LABlab(93.8 -2.9 32.3)
LCHlch(93.8 32.4 95.1)
OKLCHoklch(0.946 0.081 93.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffedaf on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#ffedaf on black: 17.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green92.9%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta7.1%
Yellow31.4%
Key (black)0.0%

Color previews

#ffedaf text on a black background

contrast 17.98:1

Card sample

#ffedaf text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffedaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffedaf in the Color Lab