#F7F166#F7F166
#F7F166 is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.7% C 0.159 H 106.8°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).
Color values
| HEX | #F7F166 |
|---|---|
| RGB | rgb(247, 241, 102) |
| HSL | hsl(58, 90%, 68%) |
| HSV | hsv(58, 59%, 97%) |
| CMYK | cmyk(0%, 2.4%, 58.7%, 3.1%) |
| CIE-LAB | lab(93.30, -14.86, 66.12) |
| CIE-LCH | lch(93.30, 67.77, 102.67°) |
| OKLab | oklab(93.71% -0.0458 0.1518) |
| OKLCH | oklch(93.71% 0.159 106.8) |
| XYZ | xyz(72.2137, 83.6463, 24.9092) |
| Luminance | 0.8364 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.50
Straw
#FCF679
ΔE00 1.95
Butter Yellow
#FFFD74
ΔE00 2.56
Custard
#FFFD78
ΔE00 2.69
Sandy Yellow
#FDEE73
ΔE00 2.70
Pastel Yellow
#FFFE71
ΔE00 2.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7F166 #666CF7
analogous
#F7A866 #F7F166 #B4F766
triadic
#F7F166 #66F7F1 #F166F7
tetradic
#F7F166 #66F7A8 #666CF7 #F766B4
square
#F7F166 #66F7A8 #666CF7 #F766B4
split-complementary
#F7F166 #66B4F7 #A866F7
monochromatic
#D7CF0B #F4EC2C #F7F166 #FAF6A0 #FDFCDA
Accessibility & contrast
On white
1.18
#F7F166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.73
#F7F166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7F166
17.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7F166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7F166 | 1.00 | 1.18 | 17.73 | 17.73 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE956
Deuteranopia (green-blind)
#FFEE6E
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #f7f166; /* rgb */ color: rgb(247, 241, 102); /* oklch */ color: oklch(93.7% 0.159 106.8);
Tailwind
colors: {
custom: {
50: '#fdf597',
500: '#f7f166',
950: '#000000',
},
}SCSS
$custom: #f7f166; $custom-light: #fdf597; $custom-dark: #000000;
JSON
{
"hex": "#f7f166",
"rgb": {
"r": 247,
"g": 241,
"b": 102
},
"hsl": {
"h": 57.517,
"s": 90.062,
"l": 68.431
},
"oklch": {
"l": 0.93708,
"c": 0.15858,
"h": 106.8
},
"luminance": 0.83644
}Semantic roles & 50–950 ramp
primary
#F7F166
secondary
#3138D0
accent
#09E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F