Skip to content

#fefdbf

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

RGB
254, 253, 191
HSL
59°, 97%, 87%
CMYK
0, 0, 25, 0
Luminance
0.9508

Every format

HEX#fefdbf
RGBrgb(254, 253, 191)
HSLhsl(59, 97%, 87%)
CMYKcmyk(0%, 0%, 25%, 0%)
LABlab(98.1 -9.2 29.9)
LCHlch(98.1 31.3 107.1)
OKLCHoklch(0.980 0.079 107.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green99.2%
Blue74.9%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow24.8%
Key (black)0.4%

Color previews

#fefdbf text on a black background

contrast 20.02:1

Card sample

#fefdbf text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefdbf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefdbf in the Color Lab