#F7D462#F7D462
#F7D462 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.8% C 0.138 H 92.3°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).
Color values
| HEX | #F7D462 |
|---|---|
| RGB | rgb(247, 212, 98) |
| HSL | hsl(46, 90%, 68%) |
| HSV | hsv(46, 60%, 97%) |
| CMYK | cmyk(0%, 14.2%, 60.3%, 3.1%) |
| CIE-LAB | lab(85.88, -0.64, 59.64) |
| CIE-LCH | lch(85.88, 59.64, 90.62°) |
| OKLab | oklab(87.81% -0.0055 0.1375) |
| OKLCH | oklch(87.81% 0.138 92.3) |
| XYZ | xyz(64.1088, 67.7463, 21.2525) |
| Luminance | 0.6774 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 0.53
Maize
#F4D054
ΔE00 1.50
Pale Gold
#FDDE6C
ΔE00 2.38
Light Gold
#FDDC5C
ΔE00 2.46
Wheat (survey)
#FBDD7E
ΔE00 3.39
Sand Yellow
#FCE166
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7D462 #6285F7
analogous
#F78962 #F7D462 #D0F762
triadic
#F7D462 #62F7D4 #D462F7
tetradic
#F7D462 #62F789 #6285F7 #F762D0
square
#F7D462 #62F789 #6285F7 #F762D0
split-complementary
#F7D462 #62D0F7 #8962F7
monochromatic
#D4A50B #F4C428 #F7D462 #FAE49C #FDF4D6
Accessibility & contrast
On white
1.44
#F7D462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.55
#F7D462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7D462
14.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7D462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7D462 | 1.00 | 1.44 | 14.55 | 14.55 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D156
Deuteranopia (green-blind)
#F1DB67
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f7d462; /* rgb */ color: rgb(247, 212, 98); /* oklch */ color: oklch(87.8% 0.138 92.3);
Tailwind
colors: {
custom: {
50: '#fde092',
500: '#f7d462',
950: '#000000',
},
}SCSS
$custom: #f7d462; $custom-light: #fde092; $custom-dark: #000000;
JSON
{
"hex": "#f7d462",
"rgb": {
"r": 247,
"g": 212,
"b": 98
},
"hsl": {
"h": 45.906,
"s": 90.303,
"l": 67.647
},
"oklch": {
"l": 0.87814,
"c": 0.13761,
"h": 92.3
},
"luminance": 0.67743
}Semantic roles & 50–950 ramp
primary
#F7D462
secondary
#2F54CF
accent
#36E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F