hexcolors

#F2DB0D

Closest named color: gold

About this color

#F2DB0D is a vivid yellow color. In RGB it is 242, 219, 13, and its closest named color is gold. Text in black is easiest to read on it, with a contrast ratio of 14.91: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 #F2DB0D?

Contrast against white and black text.

Aa Sample
1.41:1 with white text
Fails WCAG contrast
Aa Sample
14.91: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 #F2DB0D

Ready-made pairings from the color wheel.

Complementary

Split complementary

Explore the color wheel · More colors that go with gold

How it looks with color blindness

Simulated for common types.

Normal
#F2DB0D
Protanopia
#F1D400
Deuteranopia
#F8DD2B
Tritanopia
#FFCABB

Test an image

Copy the code

CSS, Sass and Tailwind.

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

Similar colors

Nearby colors you might prefer.

Common questions

What is the RGB value of #F2DB0D?

#F2DB0D is rgb(242, 219, 13).

What is the closest named color to #F2DB0D?

The closest CSS named color is gold (#FFD700).

What color goes well with #F2DB0D?

Its complementary color is #0D24F2. Analogous colors at #F2690D and #96F20D also work well.

Should I use white or black text on #F2DB0D?

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

Use this color anywhere

Data, embeds and tools.

Get #F2DB0D as JSON

Embed a color swatch on your site

Add opacity to this color

Pick a different color