Skip to content

#fefdab

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

RGB
254, 253, 171
HSL
59°, 98%, 83%
CMYK
0, 0, 33, 0
Luminance
0.9426

Every format

HEX#fefdab
RGBrgb(254, 253, 171)
HSLhsl(59, 98%, 83%)
CMYKcmyk(0%, 0%, 33%, 0%)
LABlab(97.7 -11.7 39.5)
LCHlch(97.7 41.1 106.5)
OKLCHoklch(0.976 0.102 107.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fefdab on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fefdab on black: 19.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green99.2%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow32.7%
Key (black)0.4%

Color previews

#fefdab text on a black background

contrast 19.85:1

Card sample

#fefdab text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefdab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefdab in the Color Lab