Maroon Colors  ·  Color Library

Palettes / Colors / #F2F166

#F2F166 — Light Vivid Yellow

#F2F166 is a yellow color we call Light Vivid Yellow, closest to the named color Khaki (#F0E68C). It belongs to the yellow family.

Color name

Closest CSS keyword: khaki (#F0E68C) — not an exact match. CSS khaki gives you #F0E68C, a different color; use #F2F166 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#F2F166 is a warm yellow color associated with optimism, attention and cheer. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #6464F2; it also sits naturally between #F2AB64 and #ABF264. In the palettes below you can see it working alongside real color combinations from our collection.

#F2F166 · RGB 242, 241, 102

Download PNG swatch SVG

Color values

HEX#F2F166
RGB242, 241, 102
HSL60°, 84%, 67%
HSV60°, 58%, 95%
CMYK0%, 0%, 58%, 5%
XYZ70.47, 82.75, 24.83
Yxy82.75, 0.3958, 0.4647
CIE-Lab92.90, -16.87, 65.58
Hunter Lab90.97, -16.30, 44.18

RGB & CMYK percentages

Red 95% · Green 95% · Blue 40%

Cyan 0% · Magenta 0% · Yellow 58% · Key 5%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #F2F166 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #F2F166 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #F2F166

.text { color: #F2F166; }
.background { background-color: #F2F166; }
.border { border: 3px solid #F2F166; }
.text-rgb { color: rgb(242, 241, 102); }
.text-hsl { color: hsl(60, 84%, 67%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #F2F166; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(242, 241, 102, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #F2F166; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(242, 241, 102, 0.8); }

HTML: <p style="color:#F2F166">Text here</p> · <div style="background-color:#F2F166">Div content here</div>

Shades of #F2F166

#EFEF48#ECEC27#E1E114#C5C511#A9A90F#88880C#6C6C09#505007#2F2F04#131302

Tints of #F2F166

#F3F372#F4F480#F5F58E#F6F69C#F8F8AB#F8F8B4#FAFAC2#FBFBD0#FCFCDE#FDFDEC

Tones of #F2F166

#E7E76E#DDDD78#D3D382#C9C98D#BFBF97#B5B5A1

Color harmonies

Complementary — #6464F2:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.20:1 Fails
Against black text17.55:1 AAA

Best text color on #F2F166: #000000.

Semi-transparent (opacity) text on #F2F166

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #F2F166: ·

How #F2F166 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #F2F288Deuteranopia · #F2F290Tritanopia · #F2A2A8

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Material Yellow 500 · #FFEB3BMaterial Lime 500 · #CDDC39Material Amber 500 · #FFC107

Palettes with a similar color

These palettes use a close neighbour of #F2F166 rather than the exact color:

Palette F3f169
#F3F169 · #46C3DB · #2D6CDF · #482FF7
Ruby Voyage
#006199 · #8ACFF8 · #F4EB6C · #FFD444
Palette Faf2d3
#FAF2D3 · #F4E869 · #3085C3 · #5CD2E6
Palette Faf562
#FAF562 · #F36A7B · #B824A4 · #AAAAAA
Palette F4e04d
#F4E04D · #F2ED6F · #CEE397 · #8DB1AB
Palette F6e96b
#F6E96B · #BEDC74 · #A2CA71 · #387F39

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#F3F169#F4EB6C#F4E869#FAF562#F2ED6F#F6E96B#FBF46D#FAEF5D#F0E76F#F6FA70#FFF76A#FFEF5F

Browse neighbouring colors

← #F2F165  ·  #F2F167 →

Frequently asked questions

What color is #F2F166?

#F2F166 is Light Vivid Yellow, a yellow color (RGB 242, 241, 102). Its closest standard named color is Khaki.

What is the RGB and HSL of #F2F166?

#F2F166 is RGB 242, 241, 102 — HSL 60°, 84%, 67% — CMYK 0%, 0%, 58%, 5%.

What colors go with #F2F166?

Its complement is #6464F2; analogous partners are #F2AB64 and #ABF264. It also appears in 6+ palettes in our collection.

Can I use #F2F166 for text?

Black text on #F2F166 has a contrast ratio of 17.55:1 (passes WCAG AA); white text gives 1.20:1.