#F7E96C#F7E96C
#F7E96C is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 92.1% C 0.146 H 102.9°. Best body text is #000000 at 16.83:1 contrast (WCAG AA passes).
Color values
| HEX | #F7E96C |
|---|---|
| RGB | rgb(247, 233, 108) |
| HSL | hsl(54, 90%, 70%) |
| HSV | hsv(54, 56%, 97%) |
| CMYK | cmyk(0%, 5.7%, 56.3%, 3.1%) |
| CIE-LAB | lab(91.30, -10.51, 61.29) |
| CIE-LCH | lch(91.30, 62.19, 99.73°) |
| OKLab | oklab(92.14% -0.0327 0.1422) |
| OKLCH | oklch(92.14% 0.146 102.9) |
| XYZ | xyz(70.2058, 79.1372, 25.7613) |
| Luminance | 0.7913 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 1.17
Yellowish
#FAEE66
ΔE00 1.56
Dull Yellow
#EEDC5B
ΔE00 2.99
Straw
#FCF679
ΔE00 3.17
Sand Yellow
#FCE166
ΔE00 3.61
Yellow Tan
#FFE36E
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7E96C #6C7AF7
analogous
#F7A46C #F7E96C #BFF76C
triadic
#F7E96C #6CF7E9 #E96CF7
tetradic
#F7E96C #6CF7A4 #6C7AF7 #F76CBF
square
#F7E96C #6CF7A4 #6C7AF7 #F76CBF
split-complementary
#F7E96C #6CBFF7 #A46CF7
monochromatic
#DDC80C #F4E032 #F7E96C #FAF2A6 #FDFAE0
Accessibility & contrast
On white
1.25
#F7E96C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.83
#F7E96C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7E96C
16.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7E96C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7E96C | 1.00 | 1.25 | 16.83 | 16.83 |
| #FFFFFF | 1.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FBE25F
Deuteranopia (green-blind)
#FFE972
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E6E6E6
Design tokens & code
CSS
--color: #f7e96c; /* rgb */ color: rgb(247, 233, 108); /* oklch */ color: oklch(92.1% 0.146 102.9);
Tailwind
colors: {
custom: {
50: '#fdef9a',
500: '#f7e96c',
950: '#000000',
},
}SCSS
$custom: #f7e96c; $custom-light: #fdef9a; $custom-dark: #000000;
JSON
{
"hex": "#f7e96c",
"rgb": {
"r": 247,
"g": 233,
"b": 108
},
"hsl": {
"h": 53.957,
"s": 89.677,
"l": 69.608
},
"oklch": {
"l": 0.92135,
"c": 0.14595,
"h": 102.9
},
"luminance": 0.79135
}Semantic roles & 50–950 ramp
primary
#F7E96C
secondary
#3646D1
accent
#17E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F