Skip to content

#fbfeaf

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

RGB
251, 254, 175
HSL
62°, 98%, 84%
CMYK
1, 0, 31, 0
Luminance
0.9449

Every format

HEX#fbfeaf
RGBrgb(251, 254, 175)
HSLhsl(62, 98%, 84%)
CMYKcmyk(1%, 0%, 31%, 0%)
LABlab(97.8 -12.8 37.5)
LCHlch(97.8 39.7 108.8)
OKLCHoklch(0.977 0.099 109.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbfeaf on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fbfeaf on black: 19.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green99.6%
Blue68.6%

CMYK percentages

Cyan1.2%
Magenta0.0%
Yellow31.1%
Key (black)0.4%

Color previews

#fbfeaf text on a black background

contrast 19.90:1

Card sample

#fbfeaf text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbfeaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbfeaf in the Color Lab