Skip to content

#fffdb2

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

RGB
255, 253, 178
HSL
58°, 100%, 85%
CMYK
0, 1, 30, 0
Luminance
0.9472

Every format

HEX#fffdb2
RGBrgb(255, 253, 178)
HSLhsl(58, 100%, 85%)
CMYKcmyk(0%, 1%, 30%, 0%)
LABlab(97.9 -10.5 36.2)
LCHlch(97.9 37.7 106.1)
OKLCHoklch(0.978 0.094 106.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.2%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow30.2%
Key (black)0.0%

Color previews

#fffdb2 text on a black background

contrast 19.94:1

Card sample

#fffdb2 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffdb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffdb2 in the Color Lab