Skip to content

#fff3b3

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

RGB
255, 243, 179
HSL
51°, 100%, 85%
CMYK
0, 5, 30, 0
Luminance
0.8862

Every format

HEX#fff3b3
RGBrgb(255, 243, 179)
HSLhsl(51, 100%, 85%)
CMYKcmyk(0%, 5%, 30%, 0%)
LABlab(95.4 -5.4 32.4)
LCHlch(95.4 32.8 99.4)
OKLCHoklch(0.959 0.082 98.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fff3b3 on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#fff3b3 on black: 18.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green95.3%
Blue70.2%

CMYK percentages

Cyan0.0%
Magenta4.7%
Yellow29.8%
Key (black)0.0%

Color previews

#fff3b3 text on a black background

contrast 18.72:1

Card sample

#fff3b3 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff3b3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff3b3 in the Color Lab