Skip to content

#ffefc6

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

RGB
255, 239, 198
HSL
43°, 100%, 89%
CMYK
0, 6, 22, 0
Luminance
0.8707

Every format

HEX#ffefc6
RGBrgb(255, 239, 198)
HSLhsl(43, 100%, 89%)
CMYKcmyk(0%, 6%, 22%, 0%)
LABlab(94.8 -0.9 21.8)
LCHlch(94.8 21.8 92.3)
OKLCHoklch(0.955 0.056 89.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffefc6 on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#ffefc6 on black: 18.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green93.7%
Blue77.6%

CMYK percentages

Cyan0.0%
Magenta6.3%
Yellow22.4%
Key (black)0.0%

Color previews

#ffefc6 text on a black background

contrast 18.41:1

Card sample

#ffefc6 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffefc6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffefc6 in the Color Lab