#F8D963#F8D963
#F8D963 is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 88.9% C 0.140 H 94.6°. Best body text is #000000 at 15.10:1 contrast (WCAG AA passes).
Color values
| HEX | #F8D963 |
|---|---|
| RGB | rgb(248, 217, 99) |
| HSL | hsl(48, 91%, 68%) |
| HSV | hsv(48, 60%, 97%) |
| CMYK | cmyk(0%, 12.5%, 60.1%, 2.7%) |
| CIE-LAB | lab(87.23, -2.71, 60.73) |
| CIE-LCH | lch(87.23, 60.79, 92.55°) |
| OKLab | oklab(88.91% -0.0114 0.1399) |
| OKLCH | oklch(88.91% 0.14 94.6) |
| XYZ | xyz(65.7792, 70.4862, 21.9424) |
| Luminance | 0.7048 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.16
Pale Gold
#FDDE6C
ΔE00 1.25
Light Gold
#FDDC5C
ΔE00 1.37
Sand Yellow
#FCE166
ΔE00 2.06
Yellow Tan
#FFE36E
ΔE00 2.27
Maize
#F4D054
ΔE00 2.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8D963 #6382F8
analogous
#F88E63 #F8D963 #CCF863
triadic
#F8D963 #63F8D9 #D963F8
tetradic
#F8D963 #63F88E #6382F8 #F863CC
square
#F8D963 #63F88E #6382F8 #F863CC
split-complementary
#F8D963 #63CCF8 #8E63F8
monochromatic
#D7AC0A #F5CB28 #F8D963 #FBE79E #FDF6D8
Accessibility & contrast
On white
1.39
#F8D963 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.10
#F8D963 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8D963
15.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8D963 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8D963 | 1.00 | 1.39 | 15.10 | 15.10 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD557
Deuteranopia (green-blind)
#F5DF68
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f8d963; /* rgb */ color: rgb(248, 217, 99); /* oklch */ color: oklch(88.9% 0.140 94.6);
Tailwind
colors: {
custom: {
50: '#fee493',
500: '#f8d963',
950: '#000000',
},
}SCSS
$custom: #f8d963; $custom-light: #fee493; $custom-dark: #000000;
JSON
{
"hex": "#f8d963",
"rgb": {
"r": 248,
"g": 217,
"b": 99
},
"hsl": {
"h": 47.517,
"s": 91.411,
"l": 68.039
},
"oklch": {
"l": 0.88909,
"c": 0.1404,
"h": 94.6
},
"luminance": 0.70483
}Semantic roles & 50–950 ramp
primary
#F8D963
secondary
#2E50D1
accent
#30E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F