#F8D662#F8D662
#F8D662 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 88.3% C 0.139 H 93.0°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).
Color values
| HEX | #F8D662 |
|---|---|
| RGB | rgb(248, 214, 98) |
| HSL | hsl(46, 91%, 68%) |
| HSV | hsv(46, 60%, 97%) |
| CMYK | cmyk(0%, 13.7%, 60.5%, 2.7%) |
| CIE-LAB | lab(86.47, -1.25, 60.33) |
| CIE-LCH | lch(86.47, 60.34, 91.19°) |
| OKLab | oklab(88.3% -0.0073 0.1389) |
| OKLCH | oklch(88.3% 0.139 93) |
| XYZ | xyz(64.9655, 68.9348, 21.4367) |
| Luminance | 0.6893 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 0.26
Maize
#F4D054
ΔE00 1.68
Pale Gold
#FDDE6C
ΔE00 1.89
Light Gold
#FDDC5C
ΔE00 1.92
Sand Yellow
#FCE166
ΔE00 3.06
Yellow Tan
#FFE36E
ΔE00 3.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8D662 #6284F8
analogous
#F88B62 #F8D662 #CFF862
triadic
#F8D662 #62F8D6 #D662F8
tetradic
#F8D662 #62F88B #6284F8 #F862CF
square
#F8D662 #62F88B #6284F8 #F862CF
split-complementary
#F8D662 #62CFF8 #8B62F8
monochromatic
#D6A80A #F5C727 #F8D662 #FBE59D #FDF5D7
Accessibility & contrast
On white
1.42
#F8D662 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.79
#F8D662 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8D662
14.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8D662 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8D662 | 1.00 | 1.42 | 14.79 | 14.79 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD356
Deuteranopia (green-blind)
#F3DD67
Tritanopia (blue-blind)
#FFC7BD
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f8d662; /* rgb */ color: rgb(248, 214, 98); /* oklch */ color: oklch(88.3% 0.139 93.0);
Tailwind
colors: {
custom: {
50: '#fee293',
500: '#f8d662',
950: '#000000',
},
}SCSS
$custom: #f8d662; $custom-light: #fee293; $custom-dark: #000000;
JSON
{
"hex": "#f8d662",
"rgb": {
"r": 248,
"g": 214,
"b": 98
},
"hsl": {
"h": 46.4,
"s": 91.463,
"l": 67.843
},
"oklch": {
"l": 0.88303,
"c": 0.13913,
"h": 93
},
"luminance": 0.68931
}Semantic roles & 50–950 ramp
primary
#F8D662
secondary
#2E53D0
accent
#34E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F