#F5F786 color
The hex color #F5F786 is a light, vivid yellow.
In the RGB color model it is made of 96.1% red, 96.9% green and 52.5% blue (245, 247, 134).
Its hue angle is 61°, with 88% saturation and 75% lightness. For print, the CMYK equivalent is 1% cyan, 0% magenta, 46% yellow and 3% black.
The closest named color is Hyper Beam (#F6F677), a difference of 1.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 18.53:1).
#F5F786 color codes
| HEX | #F5F786 | |
|---|---|---|
| RGB | rgb(245, 247, 134) | |
| RGB percent | rgb(96.1%, 96.9%, 52.5%) | |
| HSL | hsl(61, 88%, 75%) | |
| HSV / HSB | hsv(61, 46%, 97%) | |
| CMYK | cmyk(1%, 0%, 46%, 3%) | |
| CIE LAB | lab(95.02, -16.03, 53.75) | |
| CIE LCH | lch(95.02, 56.08, 106.6) | |
| CIE XYZ | xyz(75.221, 87.657, 35.507) | |
| Decimal | 16119686 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #F5F786, 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 #F5F786 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.53:1 | Pass | Pass | Pass |
| Sample text | 1.13:1 | Fail | Fail | Fail |
| #F5F786 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.13:1 | Fail | Fail | Fail |
| Sample text | 18.53: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 #F5F786 looks to people with the most common types of color vision deficiency.
#ffef7cProtanopia
no red cones#fff38bDeuteranopia
no green cones#ffebddTritanopia
no blue cones#f1f1f1Achromatopsia
no color vision
CSS examples
.background { background-color: #f5f786; }
.text { color: #f5f786; }
.border { border: 2px solid #f5f786; }
.transparent { background-color: rgb(245 247 134 / 50%); }
.gradient { background: linear-gradient(to right, #f5f786, #bcf786); }
Similar colors
#f6f677Hyper Beam#fdfd96Pastel Yellow#eeee77Illuminating#eeee88Pineapple Perfume#ecf474Nuclear Acid#ffff81Butter#fcf679Straw Gold#f5f171Dolly
Questions
- What color is #F5F786?
- #F5F786 is a light, vivid yellow, closest to the named color Hyper Beam. It belongs to the yellow family of colors.
- What is the RGB value of #F5F786?
- The RGB value is 245, 247, 134: 245 red, 247 green and 134 blue on a 0 to 255 scale.
- What is the complementary color of #F5F786?
- The complementary color is #8886F7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #F5F786?
- Black text. Black text has a contrast ratio of 18.53:1 and white text 1.13:1. WCAG asks for at least 4.5:1 for normal text.