Skip to content

#fff3ad

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

RGB
255, 243, 173
HSL
51°, 100%, 84%
CMYK
0, 5, 32, 0
Luminance
0.8838

Every format

HEX#fff3ad
RGBrgb(255, 243, 173)
HSLhsl(51, 100%, 84%)
CMYKcmyk(0%, 5%, 32%, 0%)
LABlab(95.3 -6.1 35.3)
LCHlch(95.3 35.8 99.8)
OKLCHoklch(0.958 0.089 99.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fff3ad on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#fff3ad on black: 18.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green95.3%
Blue67.8%

CMYK percentages

Cyan0.0%
Magenta4.7%
Yellow32.2%
Key (black)0.0%

Color previews

#fff3ad text on a black background

contrast 18.68:1

Card sample

#fff3ad text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff3ad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff3ad in the Color Lab