#FFFE97#FFFE97
#FFFE97 is a very light, vivid yellow. Relative luminance 0.944; OKLCH L 97.6% C 0.125 H 108.0°. Best body text is #000000 at 19.88:1 contrast (WCAG AA passes).
Color values
| HEX | #FFFE97 |
|---|---|
| RGB | rgb(255, 254, 151) |
| HSL | hsl(59, 100%, 80%) |
| HSV | hsv(59, 41%, 100%) |
| CMYK | cmyk(0%, 0.4%, 40.8%, 0%) |
| CIE-LAB | lab(97.78, -13.94, 49.27) |
| CIE-LCH | lch(97.78, 51.20, 105.80°) |
| OKLab | oklab(97.6% -0.0388 0.1193) |
| OKLCH | oklch(97.6% 0.125 108) |
| XYZ | xyz(82.2691, 94.3798, 43.1555) |
| Luminance | 0.9438 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Manilla
#FFFA86
ΔE00 2.29
Pale Yellow
#FFFF84
ΔE00 2.63
Yellowish Tan
#FCFC81
ΔE00 2.72
Butter
#FFFF81
ΔE00 2.99
Buff
#FEF69E
ΔE00 3.01
Faded Yellow
#FEFF7F
ΔE00 3.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFFE97 #9798FF
analogous
#FFCA97 #FFFE97 #CCFF97
triadic
#FFFE97 #97FFFE #FE97FF
tetradic
#FFFE97 #97FFCA #9798FF #FF97CC
square
#FFFE97 #97FFCA #9798FF #FF97CC
split-complementary
#FFFE97 #97CCFF #CA97FF
monochromatic
#FFFD1D #FFFD5A #FFFE97 #FFFFD4 #FFFFE0
Accessibility & contrast
On white
1.06
#FFFE97 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.88
#FFFE97 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFFE97
19.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFFE97 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFFE97 | 1.00 | 1.06 | 19.88 | 19.88 |
| #FFFFFF | 1.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF68F
Deuteranopia (green-blind)
#FFFB9C
Tritanopia (blue-blind)
#FFF2E5
Achromatopsia (no color)
#F9F9F9
Design tokens & code
CSS
--color: #fffe97; /* rgb */ color: rgb(255, 254, 151); /* oklch */ color: oklch(97.6% 0.125 108.0);
Tailwind
colors: {
custom: {
50: '#fffeb7',
500: '#fffe97',
950: '#000000',
},
}SCSS
$custom: #fffe97; $custom-light: #fffeb7; $custom-dark: #000000;
JSON
{
"hex": "#fffe97",
"rgb": {
"r": 255,
"g": 254,
"b": 151
},
"hsl": {
"h": 59.423,
"s": 100,
"l": 79.608
},
"oklch": {
"l": 0.97603,
"c": 0.12543,
"h": 108
},
"luminance": 0.94378
}Semantic roles & 50–950 ramp
primary
#FFFE97
secondary
#595AE2
accent
#02E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581