#F8D460#F8D460
#F8D460 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.9% C 0.139 H 92.0°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).
Color values
| HEX | #F8D460 |
|---|---|
| RGB | rgb(248, 212, 96) |
| HSL | hsl(46, 92%, 67%) |
| HSV | hsv(46, 61%, 97%) |
| CMYK | cmyk(0%, 14.5%, 61.3%, 2.7%) |
| CIE-LAB | lab(85.95, -0.36, 60.63) |
| CIE-LCH | lch(85.95, 60.64, 90.34°) |
| OKLab | oklab(87.89% -0.005 0.1393) |
| OKLCH | oklch(87.89% 0.139 92) |
| XYZ | xyz(64.3692, 67.8914, 20.7779) |
| Luminance | 0.6789 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 0.60
Maize
#F4D054
ΔE00 1.34
Light Gold
#FDDC5C
ΔE00 2.38
Pale Gold
#FDDE6C
ΔE00 2.49
Wheat (survey)
#FBDD7E
ΔE00 3.62
Sand Yellow
#FCE166
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8D460 #6084F8
analogous
#F88860 #F8D460 #D0F860
triadic
#F8D460 #60F8D4 #D460F8
tetradic
#F8D460 #60F888 #6084F8 #F860D0
square
#F8D460 #60F888 #6084F8 #F860D0
split-complementary
#F8D460 #60D0F8 #8860F8
monochromatic
#D4A409 #F5C425 #F8D460 #FBE49B #FDF4D5
Accessibility & contrast
On white
1.44
#F8D460 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.58
#F8D460 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8D460
14.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8D460 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8D460 | 1.00 | 1.44 | 14.58 | 14.58 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D154
Deuteranopia (green-blind)
#F2DB65
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f8d460; /* rgb */ color: rgb(248, 212, 96); /* oklch */ color: oklch(87.9% 0.139 92.0);
Tailwind
colors: {
custom: {
50: '#fee091',
500: '#f8d460',
950: '#000000',
},
}SCSS
$custom: #f8d460; $custom-light: #fee091; $custom-dark: #000000;
JSON
{
"hex": "#f8d460",
"rgb": {
"r": 248,
"g": 212,
"b": 96
},
"hsl": {
"h": 45.789,
"s": 91.566,
"l": 67.451
},
"oklch": {
"l": 0.87887,
"c": 0.13943,
"h": 92
},
"luminance": 0.67888
}Semantic roles & 50–950 ramp
primary
#F8D460
secondary
#2D54CF
accent
#36E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F