#F7E966#F7E966
#F7E966 is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 92.1% C 0.151 H 103.2°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).
Color values
| HEX | #F7E966 |
|---|---|
| RGB | rgb(247, 233, 102) |
| HSL | hsl(54, 90%, 68%) |
| HSV | hsv(54, 59%, 97%) |
| CMYK | cmyk(0%, 5.7%, 58.7%, 3.1%) |
| CIE-LAB | lab(91.24, -10.93, 63.85) |
| CIE-LCH | lch(91.24, 64.78, 99.71°) |
| OKLab | oklab(92.07% -0.0346 0.147) |
| OKLCH | oklch(92.07% 0.151 103.2) |
| XYZ | xyz(69.8974, 79.0138, 24.1371) |
| Luminance | 0.7901 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.19
Sandy Yellow
#FDEE73
ΔE00 1.50
Dull Yellow
#EEDC5B
ΔE00 2.91
Straw
#FCF679
ΔE00 3.32
Sand Yellow
#FCE166
ΔE00 3.69
Yellow Tan
#FFE36E
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7E966 #6674F7
analogous
#F7A066 #F7E966 #BCF766
triadic
#F7E966 #66F7E9 #E966F7
tetradic
#F7E966 #66F7A0 #6674F7 #F766BC
square
#F7E966 #66F7A0 #6674F7 #F766BC
split-complementary
#F7E966 #66BCF7 #A066F7
monochromatic
#D7C40B #F4E12C #F7E966 #FAF1A0 #FDFADA
Accessibility & contrast
On white
1.25
#F7E966 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.80
#F7E966 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7E966
16.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7E966 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7E966 | 1.00 | 1.25 | 16.80 | 16.80 |
| #FFFFFF | 1.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FCE258
Deuteranopia (green-blind)
#FFE96D
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E6E6E6
Design tokens & code
CSS
--color: #f7e966; /* rgb */ color: rgb(247, 233, 102); /* oklch */ color: oklch(92.1% 0.151 103.2);
Tailwind
colors: {
custom: {
50: '#fdef96',
500: '#f7e966',
950: '#000000',
},
}SCSS
$custom: #f7e966; $custom-light: #fdef96; $custom-dark: #000000;
JSON
{
"hex": "#f7e966",
"rgb": {
"r": 247,
"g": 233,
"b": 102
},
"hsl": {
"h": 54.207,
"s": 90.062,
"l": 68.431
},
"oklch": {
"l": 0.92073,
"c": 0.15101,
"h": 103.2
},
"luminance": 0.79011
}Semantic roles & 50–950 ramp
primary
#F7E966
secondary
#3140D0
accent
#16E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F