#F8DB62#F8DB62
#F8DB62 is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 89.3% C 0.143 H 95.9°. Best body text is #000000 at 15.30:1 contrast (WCAG AA passes).
Color values
| HEX | #F8DB62 |
|---|---|
| RGB | rgb(248, 219, 98) |
| HSL | hsl(48, 91%, 68%) |
| HSV | hsv(48, 60%, 97%) |
| CMYK | cmyk(0%, 11.7%, 60.5%, 2.7%) |
| CIE-LAB | lab(87.73, -3.79, 61.73) |
| CIE-LCH | lch(87.73, 61.84, 93.51°) |
| OKLab | oklab(89.3% -0.0146 0.1419) |
| OKLCH | oklch(89.3% 0.143 95.9) |
| XYZ | xyz(66.2504, 71.5045, 21.8650) |
| Luminance | 0.7150 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Gold
#FDDC5C
ΔE00 1.27
Pale Gold
#FDDE6C
ΔE00 1.32
Sand Yellow
#FCE166
ΔE00 1.39
Yellow Tan
#FFE36E
ΔE00 1.84
Light Mustard
#F7D560
ΔE00 1.89
Maize
#F4D054
ΔE00 2.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8DB62 #627FF8
analogous
#F89062 #F8DB62 #CAF862
triadic
#F8DB62 #62F8DB #DB62F8
tetradic
#F8DB62 #62F890 #627FF8 #F862CA
square
#F8DB62 #62F890 #627FF8 #F862CA
split-complementary
#F8DB62 #62CAF8 #9062F8
monochromatic
#D6AF0A #F5CE27 #F8DB62 #FBE89D #FDF6D7
Accessibility & contrast
On white
1.37
#F8DB62 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.30
#F8DB62 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8DB62
15.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8DB62 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8DB62 | 1.00 | 1.37 | 15.30 | 15.30 |
| #FFFFFF | 1.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD755
Deuteranopia (green-blind)
#F7E068
Tritanopia (blue-blind)
#FFCCC1
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #f8db62; /* rgb */ color: rgb(248, 219, 98); /* oklch */ color: oklch(89.3% 0.143 95.9);
Tailwind
colors: {
custom: {
50: '#fee593',
500: '#f8db62',
950: '#000000',
},
}SCSS
$custom: #f8db62; $custom-light: #fee593; $custom-dark: #000000;
JSON
{
"hex": "#f8db62",
"rgb": {
"r": 248,
"g": 219,
"b": 98
},
"hsl": {
"h": 48.4,
"s": 91.463,
"l": 67.843
},
"oklch": {
"l": 0.89297,
"c": 0.14268,
"h": 95.9
},
"luminance": 0.71501
}Semantic roles & 50–950 ramp
primary
#F8DB62
secondary
#2E4DD0
accent
#2CE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F