#F0D966 color

#F0D966 rgb(240, 217, 102)
Shades of yellow

The hex color #F0D966 is a light, vivid yellow.

In the RGB color model it is made of 94.1% red, 85.1% green and 40% blue (240, 217, 102).

Its hue angle is 50°, with 82% saturation and 67% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 57% yellow and 6% black.

The closest named color is Kings Yellow (#EAD665), a difference of 1.1 ΔE, which is barely visible.

Black text is the more readable choice on this background (contrast 14.82:1).

#F0D966 color codes

HEX#F0D966
RGBrgb(240, 217, 102)
RGB percentrgb(94.1%, 85.1%, 40%)
HSLhsl(50, 82%, 67%)
HSV / HSBhsv(50, 57%, 94%)
CMYKcmyk(0%, 10%, 57%, 6%)
CIE LABlab(86.56, -5.78, 58.44)
CIE LCHlch(86.56, 58.73, 95.64)
CIE XYZxyz(63.149, 69.113, 22.582)
Decimal15784294
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #F0D966, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #F0D966RatioAAAAAAA large
Sample text14.82:1PassPassPass
Sample text1.42:1FailFailFail
#F0D966 as text onRatioAAAAAAA large
Sample text1.42:1FailFailFail
Sample text14.82:1PassPassPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #F0D966 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #f0d966; }
.text { color: #f0d966; }
.border { border: 2px solid #f0d966; }
.transparent { background-color: rgb(240 217 102 / 50%); }
.gradient { background: linear-gradient(to right, #f0d966, #c2f066); }
Background
Text color
Border

Similar colors

Closest common color name: Mustard.

Questions

What color is #F0D966?
#F0D966 is a light, vivid yellow, closest to the named color Kings Yellow. It belongs to the yellow family of colors.
What is the RGB value of #F0D966?
The RGB value is 240, 217, 102: 240 red, 217 green and 102 blue on a 0 to 255 scale.
What is the complementary color of #F0D966?
The complementary color is #667DF0, found by rotating the hue 180° on the color wheel.
Is black or white text better on #F0D966?
Black text. Black text has a contrast ratio of 14.82:1 and white text 1.42:1. WCAG asks for at least 4.5:1 for normal text.