Skip to content

#fffb77

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

RGB
255, 251, 119
HSL
58°, 100%, 73%
CMYK
0, 2, 53, 0
Luminance
0.9159

Every format

HEX#fffb77
RGBrgb(255, 251, 119)
HSLhsl(58, 100%, 73%)
CMYKcmyk(0%, 2%, 53%, 0%)
LABlab(96.7 -15.3 62.7)
LCHlch(96.7 64.5 103.7)
OKLCHoklch(0.966 0.153 107.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffb77 on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fffb77 on black: 19.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green98.4%
Blue46.7%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow53.3%
Key (black)0.0%

Color previews

#fffb77 text on a black background

contrast 19.32:1

Card sample

#fffb77 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffb77

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffb77 in the Color Lab