#F0D966 color
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 | |
|---|---|---|
| RGB | rgb(240, 217, 102) | |
| RGB percent | rgb(94.1%, 85.1%, 40%) | |
| HSL | hsl(50, 82%, 67%) | |
| HSV / HSB | hsv(50, 57%, 94%) | |
| CMYK | cmyk(0%, 10%, 57%, 6%) | |
| CIE LAB | lab(86.56, -5.78, 58.44) | |
| CIE LCH | lch(86.56, 58.73, 95.64) | |
| CIE XYZ | xyz(63.149, 69.113, 22.582) | |
| Decimal | 15784294 | |
| Short hex | None (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 #F0D966 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.82:1 | Pass | Pass | Pass |
| Sample text | 1.42:1 | Fail | Fail | Fail |
| #F0D966 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.42:1 | Fail | Fail | Fail |
| Sample text | 14.82:1 | Pass | Pass | Pass |
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.
#ecd45aProtanopia
no red cones#f2dc6bDeuteranopia
no green cones#ffcbc0Tritanopia
no blue cones#d9d9d9Achromatopsia
no color vision
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); }
Similar colors
#ead665Kings Yellow#ead765Pharaoh’s Gold#eedd66Pollination#ead771Golden Glitter Storm#f9e176Sweet Corn#efde74Lightning Bug#fcdf63Here Comes the Sun#ead151New Gold
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.