Skip to content

#fdf67e

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

RGB
253, 246, 126
HSL
57°, 97%, 74%
CMYK
0, 3, 50, 1
Luminance
0.8830

Every format

HEX#fdf67e
RGBrgb(253, 246, 126)
HSLhsl(57, 97%, 74%)
CMYKcmyk(0%, 3%, 50%, 1%)
LABlab(95.3 -13.1 57.9)
LCHlch(95.3 59.4 102.8)
OKLCHoklch(0.955 0.142 105.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf67e on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#fdf67e on black: 18.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green96.5%
Blue49.4%

CMYK percentages

Cyan0.0%
Magenta2.8%
Yellow50.2%
Key (black)0.8%

Color previews

#fdf67e text on a black background

contrast 18.66:1

Card sample

#fdf67e text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf67e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf67e in the Color Lab