#F8F996#F8F996
#F8F996 is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 96.0% C 0.122 H 109.0°. Best body text is #000000 at 18.98:1 contrast (WCAG AA passes).
Color values
| HEX | #F8F996 |
|---|---|
| RGB | rgb(248, 249, 150) |
| HSL | hsl(61, 89%, 78%) |
| HSV | hsv(61, 40%, 98%) |
| CMYK | cmyk(0.4%, 0%, 39.8%, 2.4%) |
| CIE-LAB | lab(95.96, -14.28, 47.34) |
| CIE-LCH | lch(95.96, 49.45, 106.79°) |
| OKLab | oklab(96.02% -0.0395 0.1149) |
| OKLCH | oklch(96.02% 0.122 109) |
| XYZ | xyz(78.0932, 89.9114, 42.0891) |
| Luminance | 0.8991 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Buff
#FEF69E
ΔE00 2.75
Manilla
#FFFA86
ΔE00 2.94
Yellowish Tan
#FCFC81
ΔE00 3.30
Pale Yellow
#FFFF84
ΔE00 3.42
Dark Cream
#FFF39A
ΔE00 3.66
Parchment
#FEFCAF
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8F996 #9796F9
analogous
#F9C896 #F8F996 #C6F996
triadic
#F8F996 #96F8F9 #F996F8
tetradic
#F8F996 #96F9C8 #9796F9 #F996C6
square
#F8F996 #96F9C8 #9796F9 #F996C6
split-complementary
#F8F996 #96C6F9 #C896F9
monochromatic
#F0F222 #F4F65C #F8F996 #FCFCD0 #FDFDE2
Accessibility & contrast
On white
1.11
#F8F996 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.98
#F8F996 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8F996
18.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8F996 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8F996 | 1.00 | 1.11 | 18.98 | 18.98 |
| #FFFFFF | 1.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF18E
Deuteranopia (green-blind)
#FFF59A
Tritanopia (blue-blind)
#FFEEE1
Achromatopsia (no color)
#F3F3F3
Design tokens & code
CSS
--color: #f8f996; /* rgb */ color: rgb(248, 249, 150); /* oklch */ color: oklch(96.0% 0.122 109.0);
Tailwind
colors: {
custom: {
50: '#fcfbb6',
500: '#f8f996',
950: '#000000',
},
}SCSS
$custom: #f8f996; $custom-light: #fcfbb6; $custom-dark: #000000;
JSON
{
"hex": "#f8f996",
"rgb": {
"r": 248,
"g": 249,
"b": 150
},
"hsl": {
"h": 60.606,
"s": 89.189,
"l": 78.235
},
"oklch": {
"l": 0.96017,
"c": 0.12154,
"h": 109
},
"luminance": 0.8991
}Semantic roles & 50–950 ramp
primary
#F8F996
secondary
#5C5AD9
accent
#00E602
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581