#F7E474#F7E474
#F7E474 is a very light, vivid yellow. Relative luminance 0.765; OKLCH L 91.2% C 0.134 H 99.8°. Best body text is #000000 at 16.30:1 contrast (WCAG AA passes).
Color values
| HEX | #F7E474 |
|---|---|
| RGB | rgb(247, 228, 116) |
| HSL | hsl(51, 89%, 71%) |
| HSV | hsv(51, 53%, 97%) |
| CMYK | cmyk(0%, 7.7%, 53%, 3.1%) |
| CIE-LAB | lab(90.10, -7.41, 56.30) |
| CIE-LCH | lch(90.10, 56.78, 97.50°) |
| OKLab | oklab(91.21% -0.023 0.1323) |
| OKLCH | oklch(91.21% 0.134 99.8) |
| XYZ | xyz(69.2559, 76.5246, 27.6423) |
| Luminance | 0.7652 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellow Tan
#FFE36E
ΔE00 2.42
Sand Yellow
#FCE166
ΔE00 2.48
Sandy Yellow
#FDEE73
ΔE00 2.55
Dull Yellow
#EEDC5B
ΔE00 2.82
Sandy
#F1DA7A
ΔE00 3.17
Pale Gold
#FDDE6C
ΔE00 3.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7E474 #7487F7
analogous
#F7A274 #F7E474 #C8F774
triadic
#F7E474 #74F7E4 #E474F7
tetradic
#F7E474 #74F7A2 #7487F7 #F774C8
square
#F7E474 #74F7A2 #7487F7 #F774C8
split-complementary
#F7E474 #74C8F7 #A274F7
monochromatic
#E4C40D #F4D93A #F7E474 #FAEFAE #FDF9E2
Accessibility & contrast
On white
1.29
#F7E474 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.30
#F7E474 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7E474
16.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7E474 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7E474 | 1.00 | 1.29 | 16.30 | 16.30 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6DE6A
Deuteranopia (green-blind)
#FCE679
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #f7e474; /* rgb */ color: rgb(247, 228, 116); /* oklch */ color: oklch(91.2% 0.134 99.8);
Tailwind
colors: {
custom: {
50: '#fcec9f',
500: '#f7e474',
950: '#000000',
},
}SCSS
$custom: #f7e474; $custom-light: #fcec9f; $custom-dark: #000000;
JSON
{
"hex": "#f7e474",
"rgb": {
"r": 247,
"g": 228,
"b": 116
},
"hsl": {
"h": 51.298,
"s": 89.116,
"l": 71.176
},
"oklch": {
"l": 0.91214,
"c": 0.13428,
"h": 99.8
},
"luminance": 0.76522
}Semantic roles & 50–950 ramp
primary
#F7E474
secondary
#3D53D2
accent
#21E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480