Skip to content

#feffba

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

RGB
254, 255, 186
HSL
61°, 100%, 87%
CMYK
0, 0, 27, 0
Luminance
0.9614

Every format

HEX#feffba
RGBrgb(254, 255, 186)
HSLhsl(61, 100%, 87%)
CMYKcmyk(0%, 0%, 27%, 0%)
LABlab(98.5 -10.8 33.0)
LCHlch(98.5 34.7 108.2)
OKLCHoklch(0.983 0.087 108.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green100.0%
Blue72.9%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow27.1%
Key (black)0.0%

Color previews

#feffba text on a black background

contrast 20.23:1

Card sample

#feffba text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #feffba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #feffba in the Color Lab