#F9D156#F9D156
#F9D156 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 87.3% C 0.145 H 90.9°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).
Color values
| HEX | #F9D156 |
|---|---|
| RGB | rgb(249, 209, 86) |
| HSL | hsl(45, 93%, 66%) |
| HSV | hsv(45, 65%, 98%) |
| CMYK | cmyk(0%, 16.1%, 65.5%, 2.4%) |
| CIE-LAB | lab(85.21, 0.97, 64.18) |
| CIE-LCH | lch(85.21, 64.18, 89.13°) |
| OKLab | oklab(87.29% -0.0024 0.1454) |
| OKLCH | oklch(87.29% 0.145 90.9) |
| XYZ | xyz(63.5503, 66.4162, 18.2746) |
| Luminance | 0.6641 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.16
Light Mustard
#F7D560
ΔE00 1.79
Light Gold
#FDDC5C
ΔE00 3.04
Pale Gold
#FDDE6C
ΔE00 3.65
Sand Yellow
#FCE166
ΔE00 4.70
Wheat (survey)
#FBDD7E
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9D156 #567EF9
analogous
#F97F56 #F9D156 #CFF956
triadic
#F9D156 #56F9D1 #D156F9
tetradic
#F9D156 #56F97F #567EF9 #F956CF
square
#F9D156 #56F97F #567EF9 #F956CF
split-complementary
#F9D156 #56CFF9 #7F56F9
monochromatic
#CD9D07 #F7C11B #F9D156 #FBE191 #FDF1CC
Accessibility & contrast
On white
1.47
#F9D156 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.28
#F9D156 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9D156
14.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9D156 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9D156 | 1.00 | 1.47 | 14.28 | 14.28 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CE47
Deuteranopia (green-blind)
#F1DA5C
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f9d156; /* rgb */ color: rgb(249, 209, 86); /* oklch */ color: oklch(87.3% 0.145 90.9);
Tailwind
colors: {
custom: {
50: '#ffde8b',
500: '#f9d156',
950: '#000000',
},
}SCSS
$custom: #f9d156; $custom-light: #ffde8b; $custom-dark: #000000;
JSON
{
"hex": "#f9d156",
"rgb": {
"r": 249,
"g": 209,
"b": 86
},
"hsl": {
"h": 45.276,
"s": 93.143,
"l": 65.686
},
"oklch": {
"l": 0.87293,
"c": 0.14544,
"h": 90.9
},
"luminance": 0.66413
}Semantic roles & 50–950 ramp
primary
#F9D156
secondary
#2A51C9
accent
#38E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F