#F8F663#F8F663
#F8F663 is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.8% C 0.166 H 108.4°. Best body text is #000000 at 18.35:1 contrast (WCAG AA passes).
Color values
| HEX | #F8F663 |
|---|---|
| RGB | rgb(248, 246, 99) |
| HSL | hsl(59, 91%, 68%) |
| HSV | hsv(59, 60%, 97%) |
| CMYK | cmyk(0%, 0.8%, 60.1%, 2.7%) |
| CIE-LAB | lab(94.64, -17.09, 68.86) |
| CIE-LCH | lch(94.64, 70.94, 103.94°) |
| OKLab | oklab(94.79% -0.0524 0.1572) |
| OKLCH | oklch(94.79% 0.166 108.4) |
| XYZ | xyz(73.9216, 86.7710, 24.6565) |
| Luminance | 0.8677 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 1.79
Butter Yellow
#FFFD74
ΔE00 1.83
Canary
#FDFF63
ΔE00 1.98
Custard
#FFFD78
ΔE00 2.14
Light Yellow
#FFFE7A
ΔE00 2.39
Straw
#FCF679
ΔE00 2.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8F663 #6365F8
analogous
#F8AC63 #F8F663 #AFF863
triadic
#F8F663 #63F8F6 #F663F8
tetradic
#F8F663 #63F8AC #6365F8 #F863AF
square
#F8F663 #63F8AC #6365F8 #F863AF
split-complementary
#F8F663 #63AFF8 #AC63F8
monochromatic
#D7D40A #F5F328 #F8F663 #FBF99E #FDFDD8
Accessibility & contrast
On white
1.14
#F8F663 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.35
#F8F663 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8F663
18.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8F663 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8F663 | 1.00 | 1.14 | 18.35 | 18.35 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED51
Deuteranopia (green-blind)
#FFF26C
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #f8f663; /* rgb */ color: rgb(248, 246, 99); /* oklch */ color: oklch(94.8% 0.166 108.4);
Tailwind
colors: {
custom: {
50: '#fef895',
500: '#f8f663',
950: '#000000',
},
}SCSS
$custom: #f8f663; $custom-light: #fef895; $custom-dark: #000000;
JSON
{
"hex": "#f8f663",
"rgb": {
"r": 248,
"g": 246,
"b": 99
},
"hsl": {
"h": 59.195,
"s": 91.411,
"l": 68.039
},
"oklch": {
"l": 0.9479,
"c": 0.16573,
"h": 108.4
},
"luminance": 0.86769
}Semantic roles & 50–950 ramp
primary
#F8F663
secondary
#2E30D1
accent
#03E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F