Skip to content

#fffdb3

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

RGB
255, 253, 179
HSL
58°, 100%, 85%
CMYK
0, 1, 30, 0
Luminance
0.9477

Every format

HEX#fffdb3
RGBrgb(255, 253, 179)
HSLhsl(58, 100%, 85%)
CMYKcmyk(0%, 1%, 30%, 0%)
LABlab(97.9 -10.3 35.8)
LCHlch(97.9 37.2 106.1)
OKLCHoklch(0.979 0.093 106.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.2%
Blue70.2%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow29.8%
Key (black)0.0%

Color previews

#fffdb3 text on a black background

contrast 19.95:1

Card sample

#fffdb3 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffdb3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffdb3 in the Color Lab