Skip to content

#fefebc

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

RGB
254, 254, 188
HSL
60°, 97%, 87%
CMYK
0, 0, 26, 0
Luminance
0.9559

Every format

HEX#fefebc
RGBrgb(254, 254, 188)
HSLhsl(60, 97%, 87%)
CMYKcmyk(0%, 0%, 26%, 0%)
LABlab(98.3 -10.1 31.7)
LCHlch(98.3 33.2 107.6)
OKLCHoklch(0.982 0.084 107.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green99.6%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow26.0%
Key (black)0.4%

Color previews

#fefebc text on a black background

contrast 20.12:1

Card sample

#fefebc text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefebc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefebc in the Color Lab