Skip to content

#fffebd

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

RGB
255, 254, 189
HSL
59°, 100%, 87%
CMYK
0, 0, 26, 0
Luminance
0.9582

Every format

HEX#fffebd
RGBrgb(255, 254, 189)
HSLhsl(59, 100%, 87%)
CMYKcmyk(0%, 0%, 26%, 0%)
LABlab(98.4 -9.6 31.3)
LCHlch(98.4 32.7 107.0)
OKLCHoklch(0.983 0.083 107.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue74.1%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow25.9%
Key (black)0.0%

Color previews

#fffebd text on a black background

contrast 20.16:1

Card sample

#fffebd text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffebd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffebd in the Color Lab