Skip to content

#f3fbaf

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

RGB
243, 251, 175
HSL
66°, 91%, 84%
CMYK
3, 0, 30, 2
Luminance
0.9114

Every format

HEX#f3fbaf
RGBrgb(243, 251, 175)
HSLhsl(66, 91%, 84%)
CMYKcmyk(3%, 0%, 30%, 2%)
LABlab(96.5 -14.3 35.6)
LCHlch(96.5 38.4 111.8)
OKLCHoklch(0.965 0.097 113.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red95.3%
Green98.4%
Blue68.6%

CMYK percentages

Cyan3.2%
Magenta0.0%
Yellow30.3%
Key (black)1.6%

Color previews

#f3fbaf text on a black background

contrast 19.23:1

Card sample

#f3fbaf text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f3fbaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f3fbaf in the Color Lab