#F7F896#F7F896
#F7F896 is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.7% C 0.121 H 109.0°. Best body text is #000000 at 18.82:1 contrast (WCAG AA passes).
Color values
| HEX | #F7F896 |
|---|---|
| RGB | rgb(247, 248, 150) |
| HSL | hsl(61, 88%, 78%) |
| HSV | hsv(61, 40%, 97%) |
| CMYK | cmyk(0.4%, 0%, 39.5%, 2.7%) |
| CIE-LAB | lab(95.63, -14.18, 46.91) |
| CIE-LCH | lch(95.63, 49.00, 106.81°) |
| OKLab | oklab(95.73% -0.0392 0.114) |
| OKLCH | oklch(95.73% 0.121 109) |
| XYZ | xyz(77.4313, 89.1125, 41.9697) |
| Luminance | 0.8911 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Buff
#FEF69E
ΔE00 2.67
Manilla
#FFFA86
ΔE00 3.09
Yellowish Tan
#FCFC81
ΔE00 3.47
Dark Cream
#FFF39A
ΔE00 3.59
Pale Yellow
#FFFF84
ΔE00 3.61
Parchment
#FEFCAF
ΔE00 3.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F7F896 #9796F8
analogous
#F8C896 #F7F896 #C6F896
triadic
#F7F896 #96F7F8 #F896F7
tetradic
#F7F896 #96F8C8 #9796F8 #F896C6
square
#F7F896 #96F8C8 #9796F8 #F896C6
split-complementary
#F7F896 #96C6F8 #C896F8
monochromatic
#EEF023 #F3F45D #F7F896 #FBFCCF #FDFDE2
Accessibility & contrast
On white
1.12
#F7F896 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.82
#F7F896 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F7F896
18.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F7F896 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F7F896 | 1.00 | 1.12 | 18.82 | 18.82 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF08E
Deuteranopia (green-blind)
#FFF49A
Tritanopia (blue-blind)
#FFEDE0
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #f7f896; /* rgb */ color: rgb(247, 248, 150); /* oklch */ color: oklch(95.7% 0.121 109.0);
Tailwind
colors: {
custom: {
50: '#fbfab6',
500: '#f7f896',
950: '#000000',
},
}SCSS
$custom: #f7f896; $custom-light: #fbfab6; $custom-dark: #000000;
JSON
{
"hex": "#f7f896",
"rgb": {
"r": 247,
"g": 248,
"b": 150
},
"hsl": {
"h": 60.612,
"s": 87.5,
"l": 78.039
},
"oklch": {
"l": 0.95734,
"c": 0.12051,
"h": 109
},
"luminance": 0.89111
}Semantic roles & 50–950 ramp
primary
#F7F896
secondary
#5C5BD8
accent
#01E404
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581