#F9D151#F9D151
#F9D151 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 87.3% C 0.149 H 91.4°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).
Color values
| HEX | #F9D151 |
|---|---|
| RGB | rgb(249, 209, 81) |
| HSL | hsl(46, 93%, 65%) |
| HSV | hsv(46, 67%, 98%) |
| CMYK | cmyk(0%, 16.1%, 67.5%, 2.4%) |
| CIE-LAB | lab(85.17, 0.70, 66.21) |
| CIE-LCH | lch(85.17, 66.21, 89.40°) |
| OKLab | oklab(87.25% -0.0037 0.1489) |
| OKLCH | oklch(87.25% 0.149 91.4) |
| XYZ | xyz(63.3559, 66.3384, 17.2505) |
| Luminance | 0.6633 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.12
Light Mustard
#F7D560
ΔE00 1.99
Light Gold
#FDDC5C
ΔE00 2.93
Pale Gold
#FDDE6C
ΔE00 3.80
Sand Yellow
#FCE166
ΔE00 4.68
Yellow Tan
#FFE36E
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9D151 #5179F9
analogous
#F97D51 #F9D151 #CDF951
triadic
#F9D151 #51F9D1 #D151F9
tetradic
#F9D151 #51F97D #5179F9 #F951CD
square
#F9D151 #51F97D #5179F9 #F951CD
split-complementary
#F9D151 #51CDF9 #7D51F9
monochromatic
#C99B07 #F7C116 #F9D151 #FBE18C #FDF0C7
Accessibility & contrast
On white
1.47
#F9D151 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.27
#F9D151 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9D151
14.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9D151 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9D151 | 1.00 | 1.47 | 14.27 | 14.27 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CE41
Deuteranopia (green-blind)
#F1DA57
Tritanopia (blue-blind)
#FFC1B6
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f9d151; /* rgb */ color: rgb(249, 209, 81); /* oklch */ color: oklch(87.3% 0.149 91.4);
Tailwind
colors: {
custom: {
50: '#ffde88',
500: '#f9d151',
950: '#000000',
},
}SCSS
$custom: #f9d151; $custom-light: #ffde88; $custom-dark: #000000;
JSON
{
"hex": "#f9d151",
"rgb": {
"r": 249,
"g": 209,
"b": 81
},
"hsl": {
"h": 45.714,
"s": 93.333,
"l": 64.706
},
"oklch": {
"l": 0.8725,
"c": 0.14898,
"h": 91.4
},
"luminance": 0.66335
}Semantic roles & 50–950 ramp
primary
#F9D151
secondary
#294EC5
accent
#37E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F