#F8D462#F8D462
#F8D462 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.9% C 0.138 H 91.8°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).
Color values
| HEX | #F8D462 |
|---|---|
| RGB | rgb(248, 212, 98) |
| HSL | hsl(46, 91%, 68%) |
| HSV | hsv(46, 60%, 97%) |
| CMYK | cmyk(0%, 14.5%, 60.5%, 2.7%) |
| CIE-LAB | lab(85.97, -0.23, 59.77) |
| CIE-LCH | lch(85.97, 59.77, 90.22°) |
| OKLab | oklab(87.91% -0.0043 0.1378) |
| OKLCH | oklch(87.91% 0.138 91.8) |
| XYZ | xyz(64.4624, 67.9287, 21.2690) |
| Luminance | 0.6793 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 0.73
Maize
#F4D054
ΔE00 1.53
Pale Gold
#FDDE6C
ΔE00 2.49
Light Gold
#FDDC5C
ΔE00 2.54
Wheat (survey)
#FBDD7E
ΔE00 3.44
Sand Yellow
#FCE166
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8D462 #6286F8
analogous
#F88962 #F8D462 #D1F862
triadic
#F8D462 #62F8D4 #D462F8
tetradic
#F8D462 #62F889 #6286F8 #F862D1
square
#F8D462 #62F889 #6286F8 #F862D1
split-complementary
#F8D462 #62D1F8 #8962F8
monochromatic
#D6A50A #F5C427 #F8D462 #FBE49D #FDF4D7
Accessibility & contrast
On white
1.44
#F8D462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.59
#F8D462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8D462
14.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8D462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8D462 | 1.00 | 1.44 | 14.59 | 14.59 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D156
Deuteranopia (green-blind)
#F1DB67
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f8d462; /* rgb */ color: rgb(248, 212, 98); /* oklch */ color: oklch(87.9% 0.138 91.8);
Tailwind
colors: {
custom: {
50: '#fee092',
500: '#f8d462',
950: '#000000',
},
}SCSS
$custom: #f8d462; $custom-light: #fee092; $custom-dark: #000000;
JSON
{
"hex": "#f8d462",
"rgb": {
"r": 248,
"g": 212,
"b": 98
},
"hsl": {
"h": 45.6,
"s": 91.463,
"l": 67.843
},
"oklch": {
"l": 0.87908,
"c": 0.13782,
"h": 91.8
},
"luminance": 0.67925
}Semantic roles & 50–950 ramp
primary
#F8D462
secondary
#2E55D0
accent
#37E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F