#F7E86C#F7E86C
#F7E86C is a very light, vivid yellow. Relative luminance 0.786; OKLCH L 91.9% C 0.145 H 102.5°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).
Color values
| HEX | #F7E86C |
|---|---|
| RGB | rgb(247, 232, 108) |
| HSL | hsl(54, 90%, 70%) |
| HSV | hsv(54, 56%, 97%) |
| CMYK | cmyk(0%, 6.1%, 56.3%, 3.1%) |
| CIE-LAB | lab(91.04, -10.01, 61.00) |
| CIE-LCH | lch(91.04, 61.82, 99.32°) |
| OKLab | oklab(91.93% -0.0313 0.1416) |
| OKLCH | oklch(91.93% 0.145 102.5) |
| XYZ | xyz(69.9235, 78.5726, 25.6672) |
| Luminance | 0.7857 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 1.30
Yellowish
#FAEE66
ΔE00 1.83
Dull Yellow
#EEDC5B
ΔE00 2.77
Sand Yellow
#FCE166
ΔE00 3.31
Straw
#FCF679
ΔE00 3.46
Yellow Tan
#FFE36E
ΔE00 3.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7E86C #6C7BF7
analogous
#F7A36C #F7E86C #C1F76C
triadic
#F7E86C #6CF7E8 #E86CF7
tetradic
#F7E86C #6CF7A3 #6C7BF7 #F76CC1
square
#F7E86C #6CF7A3 #6C7BF7 #F76CC1
split-complementary
#F7E86C #6CC1F7 #A36CF7
monochromatic
#DDC60C #F4DF32 #F7E86C #FAF1A6 #FDFAE0
Accessibility & contrast
On white
1.26
#F7E86C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.71
#F7E86C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7E86C
16.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7E86C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7E86C | 1.00 | 1.26 | 16.71 | 16.71 |
| #FFFFFF | 1.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FAE15F
Deuteranopia (green-blind)
#FFE872
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E5E5E5
Design tokens & code
CSS
--color: #f7e86c; /* rgb */ color: rgb(247, 232, 108); /* oklch */ color: oklch(91.9% 0.145 102.5);
Tailwind
colors: {
custom: {
50: '#fdef9a',
500: '#f7e86c',
950: '#000000',
},
}SCSS
$custom: #f7e86c; $custom-light: #fdef9a; $custom-dark: #000000;
JSON
{
"hex": "#f7e86c",
"rgb": {
"r": 247,
"g": 232,
"b": 108
},
"hsl": {
"h": 53.525,
"s": 89.677,
"l": 69.608
},
"oklch": {
"l": 0.91932,
"c": 0.14504,
"h": 102.5
},
"luminance": 0.7857
}Semantic roles & 50–950 ramp
primary
#F7E86C
secondary
#3647D1
accent
#19E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F