Skip to content

#ffedc8

a pale, electric yellow · warm · closest name: beige

RGB
255, 237, 200
HSL
40°, 100%, 89%
CMYK
0, 7, 22, 0
Luminance
0.8600

Every format

HEX#ffedc8
RGBrgb(255, 237, 200)
HSLhsl(40, 100%, 89%)
CMYKcmyk(0%, 7%, 22%, 0%)
LABlab(94.3 0.4 20.1)
LCHlch(94.3 20.1 88.9)
OKLCHoklch(0.951 0.052 85.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffedc8 on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#ffedc8 on black: 18.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green92.9%
Blue78.4%

CMYK percentages

Cyan0.0%
Magenta7.1%
Yellow21.6%
Key (black)0.0%

Color previews

#ffedc8 text on a black background

contrast 18.20:1

Card sample

#ffedc8 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffedc8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffedc8 in the Color Lab