Skip to content

#fdfb93

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

RGB
253, 251, 147
HSL
59°, 96%, 78%
CMYK
0, 1, 42, 1
Luminance
0.9198

Every format

HEX#fdfb93
RGBrgb(253, 251, 147)
HSLhsl(59, 96%, 78%)
CMYKcmyk(0%, 1%, 42%, 1%)
LABlab(96.8 -13.7 49.9)
LCHlch(96.8 51.8 105.3)
OKLCHoklch(0.968 0.127 107.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfb93 on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fdfb93 on black: 19.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green98.4%
Blue57.6%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow41.9%
Key (black)0.8%

Color previews

#fdfb93 text on a black background

contrast 19.40:1

Card sample

#fdfb93 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfb93

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfb93 in the Color Lab