#F8E481 color
The hex color #F8E481 is a light, vivid yellow.
In the RGB color model it is made of 97.3% red, 89.4% green and 50.6% blue (248, 228, 129).
Its hue angle is 50°, with 89% saturation and 74% lightness. For print, the CMYK equivalent is 0% cyan, 8% magenta, 48% yellow and 3% black.
The closest named color is Sandworm (#FCE883), a difference of 0.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 16.41:1).
#F8E481 color codes
| HEX | #F8E481 | |
|---|---|---|
| RGB | rgb(248, 228, 129) | |
| RGB percent | rgb(97.3%, 89.4%, 50.6%) | |
| HSL | hsl(50, 89%, 74%) | |
| HSV / HSB | hsv(50, 48%, 97%) | |
| CMYK | cmyk(0%, 8%, 48%, 3%) | |
| CIE LAB | lab(90.34, -5.91, 50.47) | |
| CIE LCH | lch(90.34, 50.82, 96.68) | |
| CIE XYZ | xyz(70.419, 77.031, 31.924) | |
| Decimal | 16311425 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #F8E481, 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 #F8E481 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.41:1 | Pass | Pass | Pass |
| Sample text | 1.28:1 | Fail | Fail | Fail |
| #F8E481 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.28:1 | Fail | Fail | Fail |
| Sample text | 16.41: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 #F8E481 looks to people with the most common types of color vision deficiency.
#f5df79Protanopia
no red cones#fbe685Deuteranopia
no green cones#ffd7cdTritanopia
no blue cones#e3e3e3Achromatopsia
no color vision
CSS examples
.background { background-color: #f8e481; }
.text { color: #f8e481; }
.border { border: 2px solid #f8e481; }
.transparent { background-color: rgb(248 228 129 / 50%); }
.gradient { background: linear-gradient(to right, #f8e481, #d1f881); }
Similar colors
#fce883Sandworm#ffe989Quack Quack#fae17fPasta Luego#f9e176Sweet Corn#fbe98eChickery Chick#eedd77Delicate Lemon#fce17cSilken Gold#efde74Lightning Bug
Closest common color name: Mustard.
Questions
- What color is #F8E481?
- #F8E481 is a light, vivid yellow, closest to the named color Sandworm. It belongs to the yellow family of colors.
- What is the RGB value of #F8E481?
- The RGB value is 248, 228, 129: 248 red, 228 green and 129 blue on a 0 to 255 scale.
- What is the complementary color of #F8E481?
- The complementary color is #8195F8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #F8E481?
- Black text. Black text has a contrast ratio of 16.41:1 and white text 1.28:1. WCAG asks for at least 4.5:1 for normal text.