#F7D862#F7D862
#F7D862 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.6% C 0.140 H 94.6°. Best body text is #000000 at 14.95:1 contrast (WCAG AA passes).
Color values
| HEX | #F7D862 |
|---|---|
| RGB | rgb(247, 216, 98) |
| HSL | hsl(48, 90%, 68%) |
| HSV | hsv(48, 60%, 97%) |
| CMYK | cmyk(0%, 12.6%, 60.3%, 3.1%) |
| CIE-LAB | lab(86.88, -2.68, 60.76) |
| CIE-LCH | lch(86.88, 60.82, 92.52°) |
| OKLab | oklab(88.61% -0.0114 0.1399) |
| OKLCH | oklch(88.61% 0.14 94.6) |
| XYZ | xyz(65.1211, 69.7709, 21.5899) |
| Luminance | 0.6977 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.02
Pale Gold
#FDDE6C
ΔE00 1.46
Light Gold
#FDDC5C
ΔE00 1.49
Maize
#F4D054
ΔE00 2.21
Sand Yellow
#FCE166
ΔE00 2.24
Yellow Tan
#FFE36E
ΔE00 2.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7D862 #6281F7
analogous
#F78E62 #F7D862 #CBF762
triadic
#F7D862 #62F7D8 #D862F7
tetradic
#F7D862 #62F78E #6281F7 #F762CB
square
#F7D862 #62F78E #6281F7 #F762CB
split-complementary
#F7D862 #62CBF7 #8E62F7
monochromatic
#D4AA0B #F4CA28 #F7D862 #FAE69C #FDF5D6
Accessibility & contrast
On white
1.40
#F7D862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.95
#F7D862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7D862
14.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7D862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7D862 | 1.00 | 1.40 | 14.95 | 14.95 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD455
Deuteranopia (green-blind)
#F4DE67
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #f7d862; /* rgb */ color: rgb(247, 216, 98); /* oklch */ color: oklch(88.6% 0.140 94.6);
Tailwind
colors: {
custom: {
50: '#fde393',
500: '#f7d862',
950: '#000000',
},
}SCSS
$custom: #f7d862; $custom-light: #fde393; $custom-dark: #000000;
JSON
{
"hex": "#f7d862",
"rgb": {
"r": 247,
"g": 216,
"b": 98
},
"hsl": {
"h": 47.517,
"s": 90.303,
"l": 67.647
},
"oklch": {
"l": 0.88608,
"c": 0.14036,
"h": 94.6
},
"luminance": 0.69768
}Semantic roles & 50–950 ramp
primary
#F7D862
secondary
#2F50CF
accent
#30E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F