Skip to content

#fffebc

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

RGB
255, 254, 188
HSL
59°, 100%, 87%
CMYK
0, 0, 26, 0
Luminance
0.9577

Every format

HEX#fffebc
RGBrgb(255, 254, 188)
HSLhsl(59, 100%, 87%)
CMYKcmyk(0%, 0%, 26%, 0%)
LABlab(98.3 -9.7 31.8)
LCHlch(98.3 33.2 107.0)
OKLCHoklch(0.982 0.084 107.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow26.3%
Key (black)0.0%

Color previews

#fffebc text on a black background

contrast 20.15:1

Card sample

#fffebc text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffebc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffebc in the Color Lab