#F7D662#F7D662
#F7D662 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.2% C 0.139 H 93.5°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).
Color values
| HEX | #F7D662 |
|---|---|
| RGB | rgb(247, 214, 98) |
| HSL | hsl(47, 90%, 68%) |
| HSV | hsv(47, 60%, 97%) |
| CMYK | cmyk(0%, 13.4%, 60.3%, 3.1%) |
| CIE-LAB | lab(86.38, -1.66, 60.20) |
| CIE-LCH | lch(86.38, 60.22, 91.58°) |
| OKLab | oklab(88.21% -0.0084 0.1387) |
| OKLCH | oklch(88.21% 0.139 93.5) |
| XYZ | xyz(64.6118, 68.7524, 21.4201) |
| Luminance | 0.6875 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 0.34
Maize
#F4D054
ΔE00 1.74
Pale Gold
#FDDE6C
ΔE00 1.83
Light Gold
#FDDC5C
ΔE00 1.89
Sand Yellow
#FCE166
ΔE00 2.92
Yellow Tan
#FFE36E
ΔE00 3.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7D662 #6283F7
analogous
#F78B62 #F7D662 #CEF762
triadic
#F7D662 #62F7D6 #D662F7
tetradic
#F7D662 #62F78B #6283F7 #F762CE
square
#F7D662 #62F78B #6283F7 #F762CE
split-complementary
#F7D662 #62CEF7 #8B62F7
monochromatic
#D4A70B #F4C728 #F7D662 #FAE59C #FDF4D6
Accessibility & contrast
On white
1.42
#F7D662 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.75
#F7D662 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7D662
14.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7D662 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7D662 | 1.00 | 1.42 | 14.75 | 14.75 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD256
Deuteranopia (green-blind)
#F3DC67
Tritanopia (blue-blind)
#FFC7BD
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f7d662; /* rgb */ color: rgb(247, 214, 98); /* oklch */ color: oklch(88.2% 0.139 93.5);
Tailwind
colors: {
custom: {
50: '#fde293',
500: '#f7d662',
950: '#000000',
},
}SCSS
$custom: #f7d662; $custom-light: #fde293; $custom-dark: #000000;
JSON
{
"hex": "#f7d662",
"rgb": {
"r": 247,
"g": 214,
"b": 98
},
"hsl": {
"h": 46.711,
"s": 90.303,
"l": 67.647
},
"oklch": {
"l": 0.88211,
"c": 0.13896,
"h": 93.5
},
"luminance": 0.68749
}Semantic roles & 50–950 ramp
primary
#F7D662
secondary
#2F52CF
accent
#33E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F