#F8D661#F8D661
#F8D661 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 88.3% C 0.140 H 93.1°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).
Color values
| HEX | #F8D661 |
|---|---|
| RGB | rgb(248, 214, 97) |
| HSL | hsl(46, 92%, 68%) |
| HSV | hsv(46, 61%, 97%) |
| CMYK | cmyk(0%, 13.7%, 60.9%, 2.7%) |
| CIE-LAB | lab(86.46, -1.32, 60.76) |
| CIE-LCH | lch(86.46, 60.77, 91.24°) |
| OKLab | oklab(88.29% -0.0076 0.1397) |
| OKLCH | oklch(88.29% 0.14 93.1) |
| XYZ | xyz(64.9186, 68.9160, 21.1896) |
| Luminance | 0.6891 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 0.23
Maize
#F4D054
ΔE00 1.62
Light Gold
#FDDC5C
ΔE00 1.83
Pale Gold
#FDDE6C
ΔE00 1.91
Sand Yellow
#FCE166
ΔE00 3.03
Yellow Tan
#FFE36E
ΔE00 3.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8D661 #6183F8
analogous
#F88A61 #F8D661 #CFF861
triadic
#F8D661 #61F8D6 #D661F8
tetradic
#F8D661 #61F88A #6183F8 #F861CF
square
#F8D661 #61F88A #6183F8 #F861CF
split-complementary
#F8D661 #61CFF8 #8A61F8
monochromatic
#D5A709 #F5C726 #F8D661 #FBE59C #FDF4D6
Accessibility & contrast
On white
1.42
#F8D661 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.78
#F8D661 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8D661
14.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8D661 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8D661 | 1.00 | 1.42 | 14.78 | 14.78 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD355
Deuteranopia (green-blind)
#F3DD66
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f8d661; /* rgb */ color: rgb(248, 214, 97); /* oklch */ color: oklch(88.3% 0.140 93.1);
Tailwind
colors: {
custom: {
50: '#fee292',
500: '#f8d661',
950: '#000000',
},
}SCSS
$custom: #f8d661; $custom-light: #fee292; $custom-dark: #000000;
JSON
{
"hex": "#f8d661",
"rgb": {
"r": 248,
"g": 214,
"b": 97
},
"hsl": {
"h": 46.49,
"s": 91.515,
"l": 67.647
},
"oklch": {
"l": 0.88293,
"c": 0.13995,
"h": 93.1
},
"luminance": 0.68913
}Semantic roles & 50–950 ramp
primary
#F8D661
secondary
#2D52D0
accent
#34E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F