Skip to content

#fdfebc

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

RGB
253, 254, 188
HSL
61°, 97%, 87%
CMYK
0, 0, 26, 0
Luminance
0.9540

Every format

HEX#fdfebc
RGBrgb(253, 254, 188)
HSLhsl(61, 97%, 87%)
CMYKcmyk(0%, 0%, 26%, 0%)
LABlab(98.2 -10.4 31.6)
LCHlch(98.2 33.2 108.3)
OKLCHoklch(0.981 0.084 108.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfebc on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#fdfebc on black: 20.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green99.6%
Blue73.7%

CMYK percentages

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

Color previews

#fdfebc text on a black background

contrast 20.08:1

Card sample

#fdfebc text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfebc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfebc in the Color Lab