#F2E788 color
The hex color #F2E788 is a light, vivid yellow.
In the RGB color model it is made of 94.9% red, 90.6% green and 53.3% blue (242, 231, 136).
Its hue angle is 54°, with 80% saturation and 74% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 44% yellow and 5% black.
The closest named color is Templar’s Gold (#F2E688), a difference of 0.3 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 16.56:1).
#F2E788 color codes
| HEX | #F2E788 | |
|---|---|---|
| RGB | rgb(242, 231, 136) | |
| RGB percent | rgb(94.9%, 90.6%, 53.3%) | |
| HSL | hsl(54, 80%, 74%) | |
| HSV / HSB | hsv(54, 44%, 95%) | |
| CMYK | cmyk(0%, 5%, 44%, 5%) | |
| CIE LAB | lab(90.69, -9.12, 47.42) | |
| CIE LCH | lch(90.69, 48.29, 100.89) | |
| CIE XYZ | xyz(69.639, 77.809, 34.638) | |
| Decimal | 15918984 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #F2E788, 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 #F2E788 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.56:1 | Pass | Pass | Pass |
| Sample text | 1.27:1 | Fail | Fail | Fail |
| #F2E788 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.27:1 | Fail | Fail | Fail |
| Sample text | 16.56: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 #F2E788 looks to people with the most common types of color vision deficiency.
#f7e180Protanopia
no red cones#fae78cDeuteranopia
no green cones#ffdbd0Tritanopia
no blue cones#e4e4e4Achromatopsia
no color vision
CSS examples
.background { background-color: #f2e788; }
.text { color: #f2e788; }
.border { border: 2px solid #f2e788; }
.transparent { background-color: rgb(242 231 136 / 50%); }
.gradient { background: linear-gradient(to right, #f2e788, #c8f288); }
Similar colors
#f2e688Templar’s Gold#f2e887King’s Field#f0e68cCornflake#ece086Gold Grillz#eae583Hippy#fbe98eChickery Chick#e6e382Yellow Press#ffee88Spätzle Yellow
Closest common color name: Pastel Yellow.
Questions
- What color is #F2E788?
- #F2E788 is a light, vivid yellow, closest to the named color Templar’s Gold. It belongs to the yellow family of colors.
- What is the RGB value of #F2E788?
- The RGB value is 242, 231, 136: 242 red, 231 green and 136 blue on a 0 to 255 scale.
- What is the complementary color of #F2E788?
- The complementary color is #8893F2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #F2E788?
- Black text. Black text has a contrast ratio of 16.56:1 and white text 1.27:1. WCAG asks for at least 4.5:1 for normal text.