hexcolors

#FFFF99

Closest named color: khaki

About this color

#FFFF99 is a vivid very light yellow color. In RGB it is 255, 255, 153, and its closest named color is khaki. Text in black is easiest to read on it, with a contrast ratio of 20.02:1.

What does yellow mean?

Copy the value you need

Click any row to copy it.

HEX
RGB
HSL
HSV
CMYK
LAB
OKLCH

Is text readable on #FFFF99?

Contrast against white and black text.

Aa Sample
1.05:1 with white text
Fails WCAG contrast
Aa Sample
20.02:1 with black text
Passes AAA for all text

Test your own pair

Make it lighter or darker

Shades keep the same hue. Click one to open the closest color page.

Build a full 50 to 950 scale

Softer versions (tints)

Mixed with white.

Muted versions (tones)

Mixed with gray.

Colors that go with #FFFF99

Ready-made pairings from the color wheel.

Complementary

Split complementary

Explore the color wheel · More colors that go with khaki

How it looks with color blindness

Simulated for common types.

Normal
#FFFF99
Protanopia
#FFF791
Deuteranopia
#FFFB9E
Tritanopia
#FFF3E6

Test an image

Copy the code

CSS, Sass and Tailwind.

color: #ffff99;
background-color: #ffff99;
--brand: #ffff99;
$brand: #ffff99;
bg-[#ffff99] text-[#ffff99] border-[#ffff99]

Similar colors

Nearby colors you might prefer.

Common questions

What is the RGB value of #FFFF99?

#FFFF99 is rgb(255, 255, 153).

What is the closest named color to #FFFF99?

The closest CSS named color is khaki (#F0E68C).

What color goes well with #FFFF99?

Its complementary color is #9999FF. Analogous colors at #FFCC99 and #CCFF99 also work well.

Should I use white or black text on #FFFF99?

Black text is easier to read, with a contrast ratio of 20.02:1.

Use this color anywhere

Data, embeds and tools.

Get #FFFF99 as JSON

Embed a color swatch on your site

Add opacity to this color

Pick a different color