Skip to content

#f3ffaf

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

RGB
243, 255, 175
HSL
69°, 100%, 84%
CMYK
5, 0, 31, 0
Luminance
0.9367

Every format

HEX#f3ffaf
RGBrgb(243, 255, 175)
HSLhsl(69, 100%, 84%)
CMYKcmyk(5%, 0%, 31%, 0%)
LABlab(97.5 -16.2 37.0)
LCHlch(97.5 40.4 113.7)
OKLCHoklch(0.973 0.102 115.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f3ffaf on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#f3ffaf on black: 19.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.3%
Green100.0%
Blue68.6%

CMYK percentages

Cyan4.7%
Magenta0.0%
Yellow31.4%
Key (black)0.0%

Color previews

#f3ffaf text on a black background

contrast 19.73:1

Card sample

#f3ffaf text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f3ffaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f3ffaf in the Color Lab