#FFF98E#FFF98E
#FFF98E is a very light, vivid yellow. Relative luminance 0.910; OKLCH L 96.5% C 0.129 H 105.7°. Best body text is #000000 at 19.19:1 contrast (WCAG AA passes).
Color values
| HEX | #FFF98E |
|---|---|
| RGB | rgb(255, 249, 142) |
| HSL | hsl(57, 100%, 78%) |
| HSV | hsv(57, 44%, 100%) |
| CMYK | cmyk(0%, 2.4%, 44.3%, 0%) |
| CIE-LAB | lab(96.40, -12.38, 51.84) |
| CIE-LCH | lch(96.40, 53.29, 103.43°) |
| OKLab | oklab(96.46% -0.0351 0.1245) |
| OKLCH | oklch(96.46% 0.129 105.7) |
| XYZ | xyz(79.9999, 90.9664, 38.9300) |
| Luminance | 0.9096 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Manilla
#FFFA86
ΔE00 1.20
Yellowish Tan
#FCFC81
ΔE00 2.38
Straw
#FCF679
ΔE00 2.45
Pale Yellow
#FFFF84
ΔE00 2.51
Butter
#FFFF81
ΔE00 2.77
Buff
#FEF69E
ΔE00 2.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFF98E #8E94FF
analogous
#FFC08E #FFF98E #CCFF8E
triadic
#FFF98E #8EFFF9 #F98EFF
tetradic
#FFF98E #8EFFC0 #8E94FF #FF8ECC
square
#FFF98E #8EFFC0 #8E94FF #FF8ECC
split-complementary
#FFF98E #8ECCFF #C08EFF
monochromatic
#FFF314 #FFF651 #FFF98E #FFFCCB #FFFDE0
Accessibility & contrast
On white
1.09
#FFF98E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.19
#FFF98E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFF98E
19.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFF98E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFF98E | 1.00 | 1.09 | 19.19 | 19.19 |
| #FFFFFF | 1.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF285
Deuteranopia (green-blind)
#FFF793
Tritanopia (blue-blind)
#FFEDE0
Achromatopsia (no color)
#F5F5F5
Design tokens & code
CSS
--color: #fff98e; /* rgb */ color: rgb(255, 249, 142); /* oklch */ color: oklch(96.5% 0.129 105.7);
Tailwind
colors: {
custom: {
50: '#fffbb1',
500: '#fff98e',
950: '#000000',
},
}SCSS
$custom: #fff98e; $custom-light: #fffbb1; $custom-dark: #000000;
JSON
{
"hex": "#fff98e",
"rgb": {
"r": 255,
"g": 249,
"b": 142
},
"hsl": {
"h": 56.814,
"s": 100,
"l": 77.843
},
"oklch": {
"l": 0.96462,
"c": 0.12932,
"h": 105.7
},
"luminance": 0.90964
}Semantic roles & 50–950 ramp
primary
#FFF98E
secondary
#5159E0
accent
#0CE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581