#F7E266#F7E266
#F7E266 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.7% C 0.145 H 99.8°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).
Color values
| HEX | #F7E266 |
|---|---|
| RGB | rgb(247, 226, 102) |
| HSL | hsl(51, 90%, 68%) |
| HSV | hsv(51, 59%, 97%) |
| CMYK | cmyk(0%, 8.5%, 58.7%, 3.1%) |
| CIE-LAB | lab(89.45, -7.45, 61.87) |
| CIE-LCH | lch(89.45, 62.31, 96.86°) |
| OKLab | oklab(90.65% -0.0246 0.1428) |
| OKLCH | oklch(90.65% 0.145 99.8) |
| XYZ | xyz(67.9550, 75.1290, 23.4896) |
| Luminance | 0.7513 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.58
Dull Yellow
#EEDC5B
ΔE00 1.76
Yellow Tan
#FFE36E
ΔE00 2.13
Sandy Yellow
#FDEE73
ΔE00 2.85
Pale Gold
#FDDE6C
ΔE00 3.04
Light Gold
#FDDC5C
ΔE00 3.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7E266 #667BF7
analogous
#F79966 #F7E266 #C4F766
triadic
#F7E266 #66F7E2 #E266F7
tetradic
#F7E266 #66F799 #667BF7 #F766C4
square
#F7E266 #66F799 #667BF7 #F766C4
split-complementary
#F7E266 #66C4F7 #9966F7
monochromatic
#D7BA0B #F4D72C #F7E266 #FAEDA0 #FDF8DA
Accessibility & contrast
On white
1.31
#F7E266 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.03
#F7E266 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7E266
16.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7E266 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7E266 | 1.00 | 1.31 | 16.03 | 16.03 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F5DC59
Deuteranopia (green-blind)
#FBE46C
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #f7e266; /* rgb */ color: rgb(247, 226, 102); /* oklch */ color: oklch(90.7% 0.145 99.8);
Tailwind
colors: {
custom: {
50: '#fdea96',
500: '#f7e266',
950: '#000000',
},
}SCSS
$custom: #f7e266; $custom-light: #fdea96; $custom-dark: #000000;
JSON
{
"hex": "#f7e266",
"rgb": {
"r": 247,
"g": 226,
"b": 102
},
"hsl": {
"h": 51.31,
"s": 90.062,
"l": 68.431
},
"oklch": {
"l": 0.90654,
"c": 0.14486,
"h": 99.8
},
"luminance": 0.75126
}Semantic roles & 50–950 ramp
primary
#F7E266
secondary
#3148D0
accent
#21E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F