#F9F968#F9F968
#F9F968 is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.5% C 0.165 H 109.1°. Best body text is #000000 at 18.78:1 contrast (WCAG AA passes).
Color values
| HEX | #F9F968 |
|---|---|
| RGB | rgb(249, 249, 104) |
| HSL | hsl(60, 92%, 69%) |
| HSV | hsv(60, 58%, 98%) |
| CMYK | cmyk(0%, 0%, 58.2%, 2.4%) |
| CIE-LAB | lab(95.54, -17.81, 67.78) |
| CIE-LCH | lch(95.54, 70.08, 104.72°) |
| OKLab | oklab(95.54% -0.054 0.1556) |
| OKLCH | oklch(95.54% 0.165 109.1) |
| XYZ | xyz(75.4435, 88.8926, 26.2779) |
| Luminance | 0.8889 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 1.16
Butter Yellow
#FFFD74
ΔE00 1.29
Canary
#FDFF63
ΔE00 1.51
Custard
#FFFD78
ΔE00 1.61
Light Yellow
#FFFE7A
ΔE00 1.80
Banana (survey)
#FFFF7E
ΔE00 2.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9F968 #6868F9
analogous
#F9B168 #F9F968 #B1F968
triadic
#F9F968 #68F9F9 #F968F9
tetradic
#F9F968 #68F9B1 #6868F9 #F968B1
square
#F9F968 #68F9B1 #6868F9 #F968B1
split-complementary
#F9F968 #68B1F9 #B168F9
monochromatic
#DEDE09 #F7F72D #F9F968 #FBFBA3 #FEFEDE
Accessibility & contrast
On white
1.12
#F9F968 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.78
#F9F968 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9F968
18.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9F968 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9F968 | 1.00 | 1.12 | 18.78 | 18.78 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF57
Deuteranopia (green-blind)
#FFF571
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #f9f968; /* rgb */ color: rgb(249, 249, 104); /* oklch */ color: oklch(95.5% 0.165 109.1);
Tailwind
colors: {
custom: {
50: '#fefb98',
500: '#f9f968',
950: '#000000',
},
}SCSS
$custom: #f9f968; $custom-light: #fefb98; $custom-dark: #000000;
JSON
{
"hex": "#f9f968",
"rgb": {
"r": 249,
"g": 249,
"b": 104
},
"hsl": {
"h": 60,
"s": 92.357,
"l": 69.216
},
"oklch": {
"l": 0.95536,
"c": 0.16468,
"h": 109.1
},
"luminance": 0.88891
}Semantic roles & 50–950 ramp
primary
#F9F968
secondary
#3232D3
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F