Skip to content

#fefeb0

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

RGB
254, 254, 176
HSL
60°, 98%, 84%
CMYK
0, 0, 31, 0
Luminance
0.9509

Every format

HEX#fefeb0
RGBrgb(254, 254, 176)
HSLhsl(60, 98%, 84%)
CMYKcmyk(0%, 0%, 31%, 0%)
LABlab(98.1 -11.6 37.4)
LCHlch(98.1 39.1 107.2)
OKLCHoklch(0.979 0.098 108.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green99.6%
Blue69.0%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow30.7%
Key (black)0.4%

Color previews

#fefeb0 text on a black background

contrast 20.02:1

Card sample

#fefeb0 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefeb0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefeb0 in the Color Lab