Skip to content

#feffb4

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

RGB
254, 255, 180
HSL
61°, 100%, 85%
CMYK
0, 0, 29, 0
Luminance
0.9589

Every format

HEX#feffb4
RGBrgb(254, 255, 180)
HSLhsl(61, 100%, 85%)
CMYKcmyk(0%, 0%, 29%, 0%)
LABlab(98.4 -11.6 35.8)
LCHlch(98.4 37.6 107.9)
OKLCHoklch(0.982 0.094 108.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#feffb4 on white: 1.04:1
AA ✗ fail · AA-large · AAA
Aa
#feffb4 on black: 20.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green100.0%
Blue70.6%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow29.4%
Key (black)0.0%

Color previews

#feffb4 text on a black background

contrast 20.18:1

Card sample

#feffb4 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #feffb4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #feffb4 in the Color Lab