#F7D866#F7D866
#F7D866 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.6% C 0.137 H 94.2°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).
Color values
| HEX | #F7D866 |
|---|---|
| RGB | rgb(247, 216, 102) |
| HSL | hsl(47, 90%, 68%) |
| HSV | hsv(47, 59%, 97%) |
| CMYK | cmyk(0%, 12.6%, 58.7%, 3.1%) |
| CIE-LAB | lab(86.92, -2.41, 59.02) |
| CIE-LCH | lch(86.92, 59.07, 92.33°) |
| OKLab | oklab(88.65% -0.0101 0.1367) |
| OKLCH | oklch(88.65% 0.137 94.2) |
| XYZ | xyz(65.3147, 69.8484, 22.6095) |
| Luminance | 0.6985 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.03
Pale Gold
#FDDE6C
ΔE00 1.35
Light Gold
#FDDC5C
ΔE00 1.86
Maize
#F4D054
ΔE00 2.38
Sand Yellow
#FCE166
ΔE00 2.42
Yellow Tan
#FFE36E
ΔE00 2.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7D866 #6685F7
analogous
#F78F66 #F7D866 #CEF766
triadic
#F7D866 #66F7D8 #D866F7
tetradic
#F7D866 #66F78F #6685F7 #F766CE
square
#F7D866 #66F78F #6685F7 #F766CE
split-complementary
#F7D866 #66CEF7 #8F66F7
monochromatic
#D7AC0B #F4C92C #F7D866 #FAE7A0 #FDF6DA
Accessibility & contrast
On white
1.40
#F7D866 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.97
#F7D866 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7D866
14.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7D866 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7D866 | 1.00 | 1.40 | 14.97 | 14.97 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD45A
Deuteranopia (green-blind)
#F4DE6B
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #f7d866; /* rgb */ color: rgb(247, 216, 102); /* oklch */ color: oklch(88.6% 0.137 94.2);
Tailwind
colors: {
custom: {
50: '#fde395',
500: '#f7d866',
950: '#000000',
},
}SCSS
$custom: #f7d866; $custom-light: #fde395; $custom-dark: #000000;
JSON
{
"hex": "#f7d866",
"rgb": {
"r": 247,
"g": 216,
"b": 102
},
"hsl": {
"h": 47.172,
"s": 90.062,
"l": 68.431
},
"oklch": {
"l": 0.8865,
"c": 0.13703,
"h": 94.2
},
"luminance": 0.69845
}Semantic roles & 50–950 ramp
primary
#F7D866
secondary
#3153D0
accent
#31E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F