#FFFE98#FFFE98
#FFFE98 is a very light, vivid yellow. Relative luminance 0.944; OKLCH L 97.6% C 0.124 H 108.0°. Best body text is #000000 at 19.88:1 contrast (WCAG AA passes).
Color values
| HEX | #FFFE98 |
|---|---|
| RGB | rgb(255, 254, 152) |
| HSL | hsl(59, 100%, 80%) |
| HSV | hsv(59, 40%, 100%) |
| CMYK | cmyk(0%, 0.4%, 40.4%, 0%) |
| CIE-LAB | lab(97.80, -13.84, 48.81) |
| CIE-LCH | lch(97.80, 50.73, 105.84°) |
| OKLab | oklab(97.62% -0.0384 0.1183) |
| OKLCH | oklch(97.62% 0.124 108) |
| XYZ | xyz(82.3506, 94.4124, 43.5850) |
| Luminance | 0.9441 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Manilla
#FFFA86
ΔE00 2.41
Pale Yellow
#FFFF84
ΔE00 2.77
Yellowish Tan
#FCFC81
ΔE00 2.86
Buff
#FEF69E
ΔE00 2.92
Butter
#FFFF81
ΔE00 3.13
Faded Yellow
#FEFF7F
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFFE98 #9899FF
analogous
#FFCA98 #FFFE98 #CDFF98
triadic
#FFFE98 #98FFFE #FE98FF
tetradic
#FFFE98 #98FFCA #9899FF #FF98CD
square
#FFFE98 #98FFCA #9899FF #FF98CD
split-complementary
#FFFE98 #98CDFF #CA98FF
monochromatic
#FFFD1E #FFFD5B #FFFE98 #FFFFD5 #FFFFE0
Accessibility & contrast
On white
1.06
#FFFE98 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.88
#FFFE98 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFFE98
19.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFFE98 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFFE98 | 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)
#FFF690
Deuteranopia (green-blind)
#FFFB9D
Tritanopia (blue-blind)
#FFF2E5
Achromatopsia (no color)
#F9F9F9
Design tokens & code
CSS
--color: #fffe98; /* rgb */ color: rgb(255, 254, 152); /* oklch */ color: oklch(97.6% 0.124 108.0);
Tailwind
colors: {
custom: {
50: '#fffeb8',
500: '#fffe98',
950: '#000000',
},
}SCSS
$custom: #fffe98; $custom-light: #fffeb8; $custom-dark: #000000;
JSON
{
"hex": "#fffe98",
"rgb": {
"r": 255,
"g": 254,
"b": 152
},
"hsl": {
"h": 59.417,
"s": 100,
"l": 79.804
},
"oklch": {
"l": 0.97618,
"c": 0.12437,
"h": 108
},
"luminance": 0.94411
}Semantic roles & 50–950 ramp
primary
#FFFE98
secondary
#595BE2
accent
#02E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581