#F8F978#F8F978
#F8F978 is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.6% C 0.151 H 109.4°. Best body text is #000000 at 18.81:1 contrast (WCAG AA passes).
Color values
| HEX | #F8F978 |
|---|---|
| RGB | rgb(248, 249, 120) |
| HSL | hsl(60, 91%, 72%) |
| HSV | hsv(60, 52%, 98%) |
| CMYK | cmyk(0.4%, 0%, 51.8%, 2.4%) |
| CIE-LAB | lab(95.61, -17.03, 60.92) |
| CIE-LCH | lch(95.61, 63.25, 105.62°) |
| OKLab | oklab(95.62% -0.0501 0.1427) |
| OKLCH | oklch(95.62% 0.151 109.4) |
| XYZ | xyz(75.9791, 89.0657, 30.9547) |
| Luminance | 0.8906 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 1.01
Light Yellow
#FFFE7A
ΔE00 1.23
Faded Yellow
#FEFF7F
ΔE00 1.24
Custard
#FFFD78
ΔE00 1.26
Banana (survey)
#FFFF7E
ΔE00 1.27
Butter
#FFFF81
ΔE00 1.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8F978 #7978F9
analogous
#F9B978 #F8F978 #B8F978
triadic
#F8F978 #78F8F9 #F978F8
tetradic
#F8F978 #78F9B9 #7978F9 #F978B8
square
#F8F978 #78F9B9 #7978F9 #F978B8
split-complementary
#F8F978 #78B8F9 #B978F9
monochromatic
#EAEC0A #F5F63D #F8F978 #FBFCB3 #FDFEE2
Accessibility & contrast
On white
1.12
#F8F978 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.81
#F8F978 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8F978
18.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8F978 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8F978 | 1.00 | 1.12 | 18.81 | 18.81 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF06B
Deuteranopia (green-blind)
#FFF57F
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #f8f978; /* rgb */ color: rgb(248, 249, 120); /* oklch */ color: oklch(95.6% 0.151 109.4);
Tailwind
colors: {
custom: {
50: '#fdfba2',
500: '#f8f978',
950: '#000000',
},
}SCSS
$custom: #f8f978; $custom-light: #fdfba2; $custom-dark: #000000;
JSON
{
"hex": "#f8f978",
"rgb": {
"r": 248,
"g": 249,
"b": 120
},
"hsl": {
"h": 60.465,
"s": 91.489,
"l": 72.353
},
"oklch": {
"l": 0.95623,
"c": 0.15122,
"h": 109.4
},
"luminance": 0.89064
}Semantic roles & 50–950 ramp
primary
#F8F978
secondary
#4140D5
accent
#00E602
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580