#F0E87D color
The hex color #F0E87D is a light, moderate yellow.
In the RGB color model it is made of 94.1% red, 91% green and 49% blue (240, 232, 125).
Its hue angle is 56°, with 79% saturation and 72% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 48% yellow and 6% black.
The closest named color is King’s Field (#F2E887), a difference of 1.5 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 16.54:1).
#F0E87D color codes
| HEX | #F0E87D | |
|---|---|---|
| RGB | rgb(240, 232, 125) | |
| RGB percent | rgb(94.1%, 91%, 49%) | |
| HSL | hsl(56, 79%, 72%) | |
| HSV / HSB | hsv(56, 48%, 94%) | |
| CMYK | cmyk(0%, 3%, 48%, 6%) | |
| CIE LAB | lab(90.65, -11.43, 52.61) | |
| CIE LCH | lch(90.65, 53.84, 102.26) | |
| CIE XYZ | xyz(68.495, 77.721, 30.792) | |
| Decimal | 15788157 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #F0E87D, 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 #F0E87D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.54:1 | Pass | Pass | Pass |
| Sample text | 1.27:1 | Fail | Fail | Fail |
| #F0E87D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.27:1 | Fail | Fail | Fail |
| Sample text | 16.54: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 #F0E87D looks to people with the most common types of color vision deficiency.
#f8e174Protanopia
no red cones#fbe782Deuteranopia
no green cones#fedccfTritanopia
no blue cones#e4e4e4Achromatopsia
no color vision
CSS examples
.background { background-color: #f0e87d; }
.text { color: #f0e87d; }
.border { border: 2px solid #f0e87d; }
.transparent { background-color: rgb(240 232 125 / 50%); }
.gradient { background: linear-gradient(to right, #f0e87d, #bef07d); }
Similar colors
#f2e887King’s Field#eae583Hippy#f2e688Templar’s Gold#f7eb73Limon#e6e382Yellow Press#eeee88Pineapple Perfume#f0e68cCornflake#eeee77Illuminating
Closest common color name: Pastel Yellow.
Questions
- What color is #F0E87D?
- #F0E87D 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 #F0E87D?
- The RGB value is 240, 232, 125: 240 red, 232 green and 125 blue on a 0 to 255 scale.
- What is the complementary color of #F0E87D?
- The complementary color is #7D85F0, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #F0E87D?
- Black text. Black text has a contrast ratio of 16.54:1 and white text 1.27:1. WCAG asks for at least 4.5:1 for normal text.