#F7E766#F7E766
#F7E766 is a very light, vivid yellow. Relative luminance 0.779; OKLCH L 91.7% C 0.149 H 102.3°. Best body text is #000000 at 16.58:1 contrast (WCAG AA passes).
Color values
| HEX | #F7E766 |
|---|---|
| RGB | rgb(247, 231, 102) |
| HSL | hsl(53, 90%, 68%) |
| HSV | hsv(53, 59%, 97%) |
| CMYK | cmyk(0%, 6.5%, 58.7%, 3.1%) |
| CIE-LAB | lab(90.73, -9.94, 63.29) |
| CIE-LCH | lch(90.73, 64.06, 98.93°) |
| OKLab | oklab(91.67% -0.0317 0.1458) |
| OKLCH | oklch(91.67% 0.149 102.3) |
| XYZ | xyz(69.3345, 77.8879, 23.9495) |
| Luminance | 0.7789 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 1.69
Yellowish
#FAEE66
ΔE00 1.78
Dull Yellow
#EEDC5B
ΔE00 2.43
Sand Yellow
#FCE166
ΔE00 3.07
Yellow Tan
#FFE36E
ΔE00 3.48
Straw
#FCF679
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7E766 #6676F7
analogous
#F79E66 #F7E766 #BEF766
triadic
#F7E766 #66F7E7 #E766F7
tetradic
#F7E766 #66F79E #6676F7 #F766BE
square
#F7E766 #66F79E #6676F7 #F766BE
split-complementary
#F7E766 #66BEF7 #9E66F7
monochromatic
#D7C10B #F4DE2C #F7E766 #FAF0A0 #FDF9DA
Accessibility & contrast
On white
1.27
#F7E766 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.58
#F7E766 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7E766
16.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7E766 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7E766 | 1.00 | 1.27 | 16.58 | 16.58 |
| #FFFFFF | 1.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FAE058
Deuteranopia (green-blind)
#FFE86D
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E4E4E4
Design tokens & code
CSS
--color: #f7e766; /* rgb */ color: rgb(247, 231, 102); /* oklch */ color: oklch(91.7% 0.149 102.3);
Tailwind
colors: {
custom: {
50: '#fdee96',
500: '#f7e766',
950: '#000000',
},
}SCSS
$custom: #f7e766; $custom-light: #fdee96; $custom-dark: #000000;
JSON
{
"hex": "#f7e766",
"rgb": {
"r": 247,
"g": 231,
"b": 102
},
"hsl": {
"h": 53.379,
"s": 90.062,
"l": 68.431
},
"oklch": {
"l": 0.91666,
"c": 0.1492,
"h": 102.3
},
"luminance": 0.77885
}Semantic roles & 50–950 ramp
primary
#F7E766
secondary
#3142D0
accent
#19E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F