Skip to content

#fefcbc

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

RGB
254, 252, 188
HSL
58°, 97%, 87%
CMYK
0, 1, 26, 0
Luminance
0.9432

Every format

HEX#fefcbc
RGBrgb(254, 252, 188)
HSLhsl(58, 97%, 87%)
CMYKcmyk(0%, 1%, 26%, 0%)
LABlab(97.8 -9.1 31.0)
LCHlch(97.8 32.3 106.3)
OKLCHoklch(0.978 0.081 106.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fefcbc on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fefcbc on black: 19.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green98.8%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow26.0%
Key (black)0.4%

Color previews

#fefcbc text on a black background

contrast 19.86:1

Card sample

#fefcbc text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(254, 252, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(254, 252, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fefcbc;
background: linear-gradient(135deg, #fefcbc, #D4FEBC);

Monochromatic scale

Palettes built from #fefcbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefcbc in the Color Lab