Skip to content

#fdfcac

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

RGB
253, 252, 172
HSL
59°, 95%, 83%
CMYK
0, 0, 32, 1
Luminance
0.9348

Every format

HEX#fdfcac
RGBrgb(253, 252, 172)
HSLhsl(59, 95%, 83%)
CMYKcmyk(0%, 0%, 32%, 1%)
LABlab(97.4 -11.4 38.5)
LCHlch(97.4 40.2 106.5)
OKLCHoklch(0.974 0.100 107.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfcac on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#fdfcac on black: 19.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green98.8%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow32.0%
Key (black)0.8%

Color previews

#fdfcac text on a black background

contrast 19.70:1

Card sample

#fdfcac text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfcac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfcac in the Color Lab