#F0E57A color
The hex color #F0E57A is a light, moderate yellow.
In the RGB color model it is made of 94.1% red, 89.8% green and 47.8% blue (240, 229, 122).
Its hue angle is 54°, with 80% saturation and 71% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 49% yellow and 6% black.
The closest named color is King’s Field (#F2E887), a difference of 1.6 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 16.19:1).
#F0E57A color codes
| HEX | #F0E57A | |
|---|---|---|
| RGB | rgb(240, 229, 122) | |
| RGB percent | rgb(94.1%, 89.8%, 47.8%) | |
| HSL | hsl(54, 80%, 71%) | |
| HSV / HSB | hsv(54, 49%, 94%) | |
| CMYK | cmyk(0%, 5%, 49%, 6%) | |
| CIE LAB | lab(89.85, -10.21, 53.05) | |
| CIE LCH | lch(89.85, 54.02, 100.89) | |
| CIE XYZ | xyz(67.469, 75.971, 29.518) | |
| Decimal | 15787386 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #F0E57A, 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 #F0E57A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.19:1 | Pass | Pass | Pass |
| Sample text | 1.3:1 | Fail | Fail | Fail |
| #F0E57A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.3:1 | Fail | Fail | Fail |
| Sample text | 16.19: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 #F0E57A looks to people with the most common types of color vision deficiency.
#f6df71Protanopia
no red cones#f9e57fDeuteranopia
no green cones#ffd8ccTritanopia
no blue cones#e2e2e2Achromatopsia
no color vision
CSS examples
.background { background-color: #f0e57a; }
.text { color: #f0e57a; }
.border { border: 2px solid #f0e57a; }
.transparent { background-color: rgb(240 229 122 / 50%); }
.gradient { background: linear-gradient(to right, #f0e57a, #c0f07a); }
Similar colors
#f2e887King’s Field#f2e688Templar’s Gold#f7eb73Limon#efde74Lightning Bug#eae583Hippy#eedd77Delicate Lemon#f0e68cCornflake#ece086Gold Grillz
Closest common color name: Pastel Yellow.
Questions
- What color is #F0E57A?
- #F0E57A is a light, moderate yellow, closest to the named color King’s Field. It belongs to the yellow family of colors.
- What is the RGB value of #F0E57A?
- The RGB value is 240, 229, 122: 240 red, 229 green and 122 blue on a 0 to 255 scale.
- What is the complementary color of #F0E57A?
- The complementary color is #7A85F0, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #F0E57A?
- Black text. Black text has a contrast ratio of 16.19:1 and white text 1.3:1. WCAG asks for at least 4.5:1 for normal text.