Skip to content

#feffb7

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

RGB
254, 255, 183
HSL
61°, 100%, 86%
CMYK
0, 0, 28, 0
Luminance
0.9601

Every format

HEX#feffb7
RGBrgb(254, 255, 183)
HSLhsl(61, 100%, 86%)
CMYKcmyk(0%, 0%, 28%, 0%)
LABlab(98.4 -11.2 34.4)
LCHlch(98.4 36.2 108.0)
OKLCHoklch(0.983 0.091 108.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green100.0%
Blue71.8%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow28.2%
Key (black)0.0%

Color previews

#feffb7 text on a black background

contrast 20.20:1

Card sample

#feffb7 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #feffb7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #feffb7 in the Color Lab