#F7DC76#F7DC76
#F7DC76 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.6% C 0.126 H 94.9°. Best body text is #000000 at 15.45:1 contrast (WCAG AA passes).
Color values
| HEX | #F7DC76 |
|---|---|
| RGB | rgb(247, 220, 118) |
| HSL | hsl(47, 89%, 72%) |
| HSV | hsv(47, 52%, 97%) |
| CMYK | cmyk(0%, 10.9%, 52.2%, 3.1%) |
| CIE-LAB | lab(88.10, -3.22, 52.99) |
| CIE-LCH | lch(88.10, 53.09, 93.48°) |
| OKLab | oklab(89.64% -0.0106 0.1253) |
| OKLCH | oklch(89.64% 0.126 94.9) |
| XYZ | xyz(67.2234, 72.2715, 27.5449) |
| Luminance | 0.7227 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.42
Wheat (survey)
#FBDD7E
ΔE00 1.49
Pale Gold
#FDDE6C
ΔE00 1.86
Yellow Tan
#FFE36E
ΔE00 2.43
Sand Yellow
#FCE166
ΔE00 2.84
Light Mustard
#F7D560
ΔE00 2.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7DC76 #7691F7
analogous
#F79C76 #F7DC76 #D2F776
triadic
#F7DC76 #76F7DC #DC76F7
tetradic
#F7DC76 #76F79C #7691F7 #F776D2
square
#F7DC76 #76F79C #7691F7 #F776D2
split-complementary
#F7DC76 #76D2F7 #9C76F7
monochromatic
#E5B80D #F4CD3C #F7DC76 #FAEBB0 #FDF8E2
Accessibility & contrast
On white
1.36
#F7DC76 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.45
#F7DC76 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7DC76
15.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7DC76 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7DC76 | 1.00 | 1.36 | 15.45 | 15.45 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EED86D
Deuteranopia (green-blind)
#F5E17A
Tritanopia (blue-blind)
#FFCEC4
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #f7dc76; /* rgb */ color: rgb(247, 220, 118); /* oklch */ color: oklch(89.6% 0.126 94.9);
Tailwind
colors: {
custom: {
50: '#fce6a0',
500: '#f7dc76',
950: '#000000',
},
}SCSS
$custom: #f7dc76; $custom-light: #fce6a0; $custom-dark: #000000;
JSON
{
"hex": "#f7dc76",
"rgb": {
"r": 247,
"g": 220,
"b": 118
},
"hsl": {
"h": 47.442,
"s": 88.966,
"l": 71.569
},
"oklch": {
"l": 0.89635,
"c": 0.12573,
"h": 94.9
},
"luminance": 0.72269
}Semantic roles & 50–950 ramp
primary
#F7DC76
secondary
#3F5ED2
accent
#30E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480