Skip to content

#ffeeb3

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

RGB
255, 238, 179
HSL
47°, 100%, 85%
CMYK
0, 7, 30, 0
Luminance
0.8566

Every format

HEX#ffeeb3
RGBrgb(255, 238, 179)
HSLhsl(47, 100%, 85%)
CMYKcmyk(0%, 7%, 30%, 0%)
LABlab(94.2 -2.9 30.7)
LCHlch(94.2 30.8 95.4)
OKLCHoklch(0.949 0.077 93.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green93.3%
Blue70.2%

CMYK percentages

Cyan0.0%
Magenta6.7%
Yellow29.8%
Key (black)0.0%

Color previews

#ffeeb3 text on a black background

contrast 18.13:1

Card sample

#ffeeb3 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffeeb3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffeeb3 in the Color Lab