Skip to content

#f3f9af

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

RGB
243, 249, 175
HSL
65°, 86%, 83%
CMYK
2, 0, 30, 2
Luminance
0.8990

Every format

HEX#f3f9af
RGBrgb(243, 249, 175)
HSLhsl(65, 86%, 83%)
CMYKcmyk(2%, 0%, 30%, 2%)
LABlab(96.0 -13.3 35.0)
LCHlch(96.0 37.4 110.8)
OKLCHoklch(0.960 0.094 111.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f3f9af on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#f3f9af on black: 18.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.3%
Green97.6%
Blue68.6%

CMYK percentages

Cyan2.4%
Magenta0.0%
Yellow29.7%
Key (black)2.4%

Color previews

#f3f9af text on a black background

contrast 18.98:1

Card sample

#f3f9af text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f3f9af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f3f9af in the Color Lab