#F9F666#F9F666
#F9F666 is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 94.9% C 0.163 H 108.0°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).
Color values
| HEX | #F9F666 |
|---|---|
| RGB | rgb(249, 246, 102) |
| HSL | hsl(59, 92%, 69%) |
| HSV | hsv(59, 59%, 98%) |
| CMYK | cmyk(0%, 1.2%, 59%, 2.4%) |
| CIE-LAB | lab(94.74, -16.49, 67.75) |
| CIE-LCH | lch(94.74, 69.73, 103.68°) |
| OKLab | oklab(94.9% -0.0505 0.1553) |
| OKLCH | oklch(94.9% 0.163 108) |
| XYZ | xyz(74.4233, 87.0127, 25.4426) |
| Luminance | 0.8701 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Butter Yellow
#FFFD74
ΔE00 1.67
Pastel Yellow
#FFFE71
ΔE00 1.70
Custard
#FFFD78
ΔE00 1.94
Straw
#FCF679
ΔE00 2.11
Canary
#FDFF63
ΔE00 2.14
Light Yellow
#FFFE7A
ΔE00 2.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9F666 #6669F9
analogous
#F9AD66 #F9F666 #B2F966
triadic
#F9F666 #66F9F6 #F666F9
tetradic
#F9F666 #66F9AD #6669F9 #F966B2
square
#F9F666 #66F9AD #6669F9 #F966B2
split-complementary
#F9F666 #66B2F9 #AD66F9
monochromatic
#DCD809 #F7F32B #F9F666 #FBF9A1 #FEFDDC
Accessibility & contrast
On white
1.14
#F9F666 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.40
#F9F666 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9F666
18.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9F666 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9F666 | 1.00 | 1.14 | 18.40 | 18.40 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED55
Deuteranopia (green-blind)
#FFF26E
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #f9f666; /* rgb */ color: rgb(249, 246, 102); /* oklch */ color: oklch(94.9% 0.163 108.0);
Tailwind
colors: {
custom: {
50: '#fef897',
500: '#f9f666',
950: '#000000',
},
}SCSS
$custom: #f9f666; $custom-light: #fef897; $custom-dark: #000000;
JSON
{
"hex": "#f9f666",
"rgb": {
"r": 249,
"g": 246,
"b": 102
},
"hsl": {
"h": 58.776,
"s": 92.453,
"l": 68.824
},
"oklch": {
"l": 0.94899,
"c": 0.16326,
"h": 108
},
"luminance": 0.87011
}Semantic roles & 50–950 ramp
primary
#F9F666
secondary
#3034D3
accent
#05E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F