Skip to content

#fdf192

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

RGB
253, 241, 146
HSL
53°, 96%, 78%
CMYK
0, 5, 42, 1
Luminance
0.8587

Every format

HEX#fdf192
RGBrgb(253, 241, 146)
HSLhsl(53, 96%, 78%)
CMYKcmyk(0%, 5%, 42%, 1%)
LABlab(94.3 -8.8 47.2)
LCHlch(94.3 48.0 100.6)
OKLCHoklch(0.947 0.117 102.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf192 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#fdf192 on black: 18.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.5%
Blue57.3%

CMYK percentages

Cyan0.0%
Magenta4.7%
Yellow42.3%
Key (black)0.8%

Color previews

#fdf192 text on a black background

contrast 18.17:1

Card sample

#fdf192 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf192

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf192 in the Color Lab