#F8D762#F8D762
#F8D762 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.5% C 0.140 H 93.6°. Best body text is #000000 at 14.89:1 contrast (WCAG AA passes).
Color values
| HEX | #F8D762 |
|---|---|
| RGB | rgb(248, 215, 98) |
| HSL | hsl(47, 91%, 68%) |
| HSV | hsv(47, 60%, 97%) |
| CMYK | cmyk(0%, 13.3%, 60.5%, 2.7%) |
| CIE-LAB | lab(86.72, -1.76, 60.61) |
| CIE-LCH | lch(86.72, 60.63, 91.66°) |
| OKLab | oklab(88.5% -0.0088 0.1395) |
| OKLCH | oklch(88.5% 0.14 93.6) |
| XYZ | xyz(65.2193, 69.4425, 21.5213) |
| Luminance | 0.6944 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 0.50
Pale Gold
#FDDE6C
ΔE00 1.64
Light Gold
#FDDC5C
ΔE00 1.65
Maize
#F4D054
ΔE00 1.87
Sand Yellow
#FCE166
ΔE00 2.71
Yellow Tan
#FFE36E
ΔE00 2.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8D762 #6283F8
analogous
#F88C62 #F8D762 #CEF862
triadic
#F8D762 #62F8D7 #D762F8
tetradic
#F8D762 #62F88C #6283F8 #F862CE
square
#F8D762 #62F88C #6283F8 #F862CE
split-complementary
#F8D762 #62CEF8 #8C62F8
monochromatic
#D6A90A #F5C827 #F8D762 #FBE69D #FDF5D7
Accessibility & contrast
On white
1.41
#F8D762 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.89
#F8D762 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8D762
14.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8D762 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8D762 | 1.00 | 1.41 | 14.89 | 14.89 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD356
Deuteranopia (green-blind)
#F4DD67
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #f8d762; /* rgb */ color: rgb(248, 215, 98); /* oklch */ color: oklch(88.5% 0.140 93.6);
Tailwind
colors: {
custom: {
50: '#fee393',
500: '#f8d762',
950: '#000000',
},
}SCSS
$custom: #f8d762; $custom-light: #fee393; $custom-dark: #000000;
JSON
{
"hex": "#f8d762",
"rgb": {
"r": 248,
"g": 215,
"b": 98
},
"hsl": {
"h": 46.8,
"s": 91.463,
"l": 67.843
},
"oklch": {
"l": 0.88501,
"c": 0.13981,
"h": 93.6
},
"luminance": 0.69439
}Semantic roles & 50–950 ramp
primary
#F8D762
secondary
#2E52D0
accent
#32E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F