Skip to content

#f1ffb3

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

RGB
241, 255, 179
HSL
71°, 100%, 85%
CMYK
6, 0, 30, 0
Luminance
0.9348

Every format

HEX#f1ffb3
RGBrgb(241, 255, 179)
HSLhsl(71, 100%, 85%)
CMYKcmyk(6%, 0%, 30%, 0%)
LABlab(97.4 -16.5 34.9)
LCHlch(97.4 38.6 115.3)
OKLCHoklch(0.972 0.098 116.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f1ffb3 on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#f1ffb3 on black: 19.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green100.0%
Blue70.2%

CMYK percentages

Cyan5.5%
Magenta0.0%
Yellow29.8%
Key (black)0.0%

Color previews

#f1ffb3 text on a black background

contrast 19.70:1

Card sample

#f1ffb3 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f1ffb3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f1ffb3 in the Color Lab