#F9D460#F9D460
#F9D460 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 88.0% C 0.140 H 91.6°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).
Color values
| HEX | #F9D460 |
|---|---|
| RGB | rgb(249, 212, 96) |
| HSL | hsl(45, 93%, 68%) |
| HSV | hsv(45, 61%, 98%) |
| CMYK | cmyk(0%, 14.9%, 61.4%, 2.4%) |
| CIE-LAB | lab(86.04, 0.05, 60.76) |
| CIE-LCH | lch(86.04, 60.76, 89.95°) |
| OKLab | oklab(87.98% -0.0038 0.1396) |
| OKLCH | oklch(87.98% 0.14 91.6) |
| XYZ | xyz(64.7248, 68.0747, 20.7946) |
| Luminance | 0.6807 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 0.85
Maize
#F4D054
ΔE00 1.43
Light Gold
#FDDC5C
ΔE00 2.49
Pale Gold
#FDDE6C
ΔE00 2.61
Wheat (survey)
#FBDD7E
ΔE00 3.68
Sand Yellow
#FCE166
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9D460 #6085F9
analogous
#F98760 #F9D460 #D2F960
triadic
#F9D460 #60F9D4 #D460F9
tetradic
#F9D460 #60F987 #6085F9 #F960D2
square
#F9D460 #60F987 #6085F9 #F960D2
split-complementary
#F9D460 #60D2F9 #8760F9
monochromatic
#D7A508 #F7C425 #F9D460 #FBE49B #FDF4D6
Accessibility & contrast
On white
1.44
#F9D460 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.61
#F9D460 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9D460
14.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9D460 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9D460 | 1.00 | 1.44 | 14.61 | 14.61 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D154
Deuteranopia (green-blind)
#F2DC65
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f9d460; /* rgb */ color: rgb(249, 212, 96); /* oklch */ color: oklch(88.0% 0.140 91.6);
Tailwind
colors: {
custom: {
50: '#ffe091',
500: '#f9d460',
950: '#000000',
},
}SCSS
$custom: #f9d460; $custom-light: #ffe091; $custom-dark: #000000;
JSON
{
"hex": "#f9d460",
"rgb": {
"r": 249,
"g": 212,
"b": 96
},
"hsl": {
"h": 45.49,
"s": 92.727,
"l": 67.647
},
"oklch": {
"l": 0.87981,
"c": 0.13964,
"h": 91.6
},
"luminance": 0.68071
}Semantic roles & 50–950 ramp
primary
#F9D460
secondary
#2C54D1
accent
#38E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F