Skip to content

#ffeeaf

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

RGB
255, 238, 175
HSL
47°, 100%, 84%
CMYK
0, 7, 31, 0
Luminance
0.8550

Every format

HEX#ffeeaf
RGBrgb(255, 238, 175)
HSLhsl(47, 100%, 84%)
CMYKcmyk(0%, 7%, 31%, 0%)
LABlab(94.1 -3.4 32.6)
LCHlch(94.1 32.8 95.9)
OKLCHoklch(0.948 0.082 94.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffeeaf on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#ffeeaf on black: 18.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green93.3%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta6.7%
Yellow31.4%
Key (black)0.0%

Color previews

#ffeeaf text on a black background

contrast 18.10:1

Card sample

#ffeeaf text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffeeaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffeeaf in the Color Lab