Skip to content

#ffefca

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

RGB
255, 239, 202
HSL
42°, 100%, 90%
CMYK
0, 6, 21, 0
Luminance
0.8726

Every format

HEX#ffefca
RGBrgb(255, 239, 202)
HSLhsl(42, 100%, 90%)
CMYKcmyk(0%, 6%, 21%, 0%)
LABlab(94.8 -0.3 19.9)
LCHlch(94.8 19.9 91.0)
OKLCHoklch(0.956 0.051 87.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green93.7%
Blue79.2%

CMYK percentages

Cyan0.0%
Magenta6.3%
Yellow20.8%
Key (black)0.0%

Color previews

#ffefca text on a black background

contrast 18.45:1

Card sample

#ffefca text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffefca

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffefca in the Color Lab