Skip to content

#fffdb6

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

RGB
255, 253, 182
HSL
58°, 100%, 86%
CMYK
0, 1, 29, 0
Luminance
0.9489

Every format

HEX#fffdb6
RGBrgb(255, 253, 182)
HSLhsl(58, 100%, 86%)
CMYKcmyk(0%, 1%, 29%, 0%)
LABlab(98.0 -10.0 34.3)
LCHlch(98.0 35.7 106.2)
OKLCHoklch(0.979 0.090 106.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.2%
Blue71.4%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow28.6%
Key (black)0.0%

Color previews

#fffdb6 text on a black background

contrast 19.98:1

Card sample

#fffdb6 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffdb6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffdb6 in the Color Lab