#F7E46C#F7E46C
#F7E46C is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.1% C 0.141 H 100.4°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).
Color values
| HEX | #F7E46C |
|---|---|
| RGB | rgb(247, 228, 108) |
| HSL | hsl(52, 90%, 70%) |
| HSV | hsv(52, 56%, 97%) |
| CMYK | cmyk(0%, 7.7%, 56.3%, 3.1%) |
| CIE-LAB | lab(90.02, -8.02, 59.84) |
| CIE-LCH | lch(90.02, 60.38, 97.63°) |
| OKLab | oklab(91.12% -0.0256 0.1391) |
| OKLCH | oklch(91.12% 0.141 100.4) |
| XYZ | xyz(68.8104, 76.3464, 25.2962) |
| Luminance | 0.7634 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 2.15
Dull Yellow
#EEDC5B
ΔE00 2.16
Sandy Yellow
#FDEE73
ΔE00 2.27
Yellow Tan
#FFE36E
ΔE00 2.42
Yellowish
#FAEE66
ΔE00 3.04
Pale Gold
#FDDE6C
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7E46C #6C7FF7
analogous
#F79F6C #F7E46C #C4F76C
triadic
#F7E46C #6CF7E4 #E46CF7
tetradic
#F7E46C #6CF79F #6C7FF7 #F76CC4
square
#F7E46C #6CF79F #6C7FF7 #F76CC4
split-complementary
#F7E46C #6CC4F7 #9F6CF7
monochromatic
#DDC00C #F4D932 #F7E46C #FAEFA6 #FDF9E0
Accessibility & contrast
On white
1.29
#F7E46C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.27
#F7E46C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7E46C
16.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7E46C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7E46C | 1.00 | 1.29 | 16.27 | 16.27 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7DE60
Deuteranopia (green-blind)
#FCE672
Tritanopia (blue-blind)
#FFD6C9
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #f7e46c; /* rgb */ color: rgb(247, 228, 108); /* oklch */ color: oklch(91.1% 0.141 100.4);
Tailwind
colors: {
custom: {
50: '#fdec9a',
500: '#f7e46c',
950: '#000000',
},
}SCSS
$custom: #f7e46c; $custom-light: #fdec9a; $custom-dark: #000000;
JSON
{
"hex": "#f7e46c",
"rgb": {
"r": 247,
"g": 228,
"b": 108
},
"hsl": {
"h": 51.799,
"s": 89.677,
"l": 69.608
},
"oklch": {
"l": 0.91122,
"c": 0.14146,
"h": 100.4
},
"luminance": 0.76344
}Semantic roles & 50–950 ramp
primary
#F7E46C
secondary
#364BD1
accent
#1FE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F