#F9D251#F9D251
#F9D251 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.4% C 0.150 H 92.0°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #F9D251 |
|---|---|
| RGB | rgb(249, 210, 81) |
| HSL | hsl(46, 93%, 65%) |
| HSV | hsv(46, 67%, 98%) |
| CMYK | cmyk(0%, 15.7%, 67.5%, 2.4%) |
| CIE-LAB | lab(85.42, 0.19, 66.47) |
| CIE-LCH | lch(85.42, 66.47, 89.84°) |
| OKLab | oklab(87.45% -0.0052 0.1495) |
| OKLCH | oklch(87.45% 0.15 92) |
| XYZ | xyz(63.6020, 66.8306, 17.3326) |
| Luminance | 0.6683 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.03
Light Mustard
#F7D560
ΔE00 1.81
Light Gold
#FDDC5C
ΔE00 2.61
Pale Gold
#FDDE6C
ΔE00 3.56
Sand Yellow
#FCE166
ΔE00 4.36
Yellow Tan
#FFE36E
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9D251 #5178F9
analogous
#F97E51 #F9D251 #CCF951
triadic
#F9D251 #51F9D2 #D251F9
tetradic
#F9D251 #51F97E #5178F9 #F951CC
square
#F9D251 #51F97E #5178F9 #F951CC
split-complementary
#F9D251 #51CCF9 #7E51F9
monochromatic
#C99C07 #F7C316 #F9D251 #FBE18C #FDF1C7
Accessibility & contrast
On white
1.46
#F9D251 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.37
#F9D251 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9D251
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9D251 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9D251 | 1.00 | 1.46 | 14.37 | 14.37 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8CF40
Deuteranopia (green-blind)
#F2DA57
Tritanopia (blue-blind)
#FFC2B7
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f9d251; /* rgb */ color: rgb(249, 210, 81); /* oklch */ color: oklch(87.4% 0.150 92.0);
Tailwind
colors: {
custom: {
50: '#ffdf88',
500: '#f9d251',
950: '#000000',
},
}SCSS
$custom: #f9d251; $custom-light: #ffdf88; $custom-dark: #000000;
JSON
{
"hex": "#f9d251",
"rgb": {
"r": 249,
"g": 210,
"b": 81
},
"hsl": {
"h": 46.071,
"s": 93.333,
"l": 64.706
},
"oklch": {
"l": 0.87447,
"c": 0.14957,
"h": 92
},
"luminance": 0.66827
}Semantic roles & 50–950 ramp
primary
#F9D251
secondary
#294DC5
accent
#35E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F