#F8F968#F8F968
#F8F968 is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.5% C 0.165 H 109.5°. Best body text is #000000 at 18.74:1 contrast (WCAG AA passes).
Color values
| HEX | #F8F968 |
|---|---|
| RGB | rgb(248, 249, 104) |
| HSL | hsl(60, 92%, 69%) |
| HSV | hsv(60, 58%, 98%) |
| CMYK | cmyk(0.4%, 0%, 58.2%, 2.4%) |
| CIE-LAB | lab(95.46, -18.21, 67.68) |
| CIE-LCH | lch(95.46, 70.08, 105.06°) |
| OKLab | oklab(95.46% -0.0551 0.1554) |
| OKLCH | oklch(95.46% 0.165 109.5) |
| XYZ | xyz(75.0879, 88.7093, 26.2612) |
| Luminance | 0.8871 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 1.24
Butter Yellow
#FFFD74
ΔE00 1.38
Canary
#FDFF63
ΔE00 1.52
Custard
#FFFD78
ΔE00 1.68
Light Yellow
#FFFE7A
ΔE00 1.83
Banana (survey)
#FFFF7E
ΔE00 2.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8F968 #6968F9
analogous
#F9B268 #F8F968 #B0F968
triadic
#F8F968 #68F8F9 #F968F8
tetradic
#F8F968 #68F9B2 #6968F9 #F968B0
square
#F8F968 #68F9B2 #6968F9 #F968B0
split-complementary
#F8F968 #68B0F9 #B268F9
monochromatic
#DCDE09 #F5F72D #F8F968 #FBFBA3 #FDFEDE
Accessibility & contrast
On white
1.12
#F8F968 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.74
#F8F968 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8F968
18.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8F968 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8F968 | 1.00 | 1.12 | 18.74 | 18.74 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF57
Deuteranopia (green-blind)
#FFF471
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #f8f968; /* rgb */ color: rgb(248, 249, 104); /* oklch */ color: oklch(95.5% 0.165 109.5);
Tailwind
colors: {
custom: {
50: '#fdfb98',
500: '#f8f968',
950: '#000000',
},
}SCSS
$custom: #f8f968; $custom-light: #fdfb98; $custom-dark: #000000;
JSON
{
"hex": "#f8f968",
"rgb": {
"r": 248,
"g": 249,
"b": 104
},
"hsl": {
"h": 60.414,
"s": 92.357,
"l": 69.216
},
"oklch": {
"l": 0.95456,
"c": 0.16484,
"h": 109.5
},
"luminance": 0.88707
}Semantic roles & 50–950 ramp
primary
#F8F968
secondary
#3332D3
accent
#00E602
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F