#FDFD97#FDFD97
#FDFD97 is a very light, vivid yellow. Relative luminance 0.934; OKLCH L 97.2% C 0.124 H 108.5°. Best body text is #000000 at 19.67:1 contrast (WCAG AA passes).
Color values
| HEX | #FDFD97 |
|---|---|
| RGB | rgb(253, 253, 151) |
| HSL | hsl(60, 96%, 79%) |
| HSV | hsv(60, 40%, 99%) |
| CMYK | cmyk(0%, 0%, 40.3%, 0.8%) |
| CIE-LAB | lab(97.38, -14.22, 48.73) |
| CIE-LCH | lch(97.38, 50.76, 106.27°) |
| OKLab | oklab(97.24% -0.0395 0.1181) |
| OKLCH | oklch(97.24% 0.125 108.5) |
| XYZ | xyz(81.2205, 93.3693, 43.0157) |
| Luminance | 0.9337 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Manilla
#FFFA86
ΔE00 2.48
Pale Yellow
#FFFF84
ΔE00 2.80
Yellowish Tan
#FCFC81
ΔE00 2.84
Buff
#FEF69E
ΔE00 2.98
Butter
#FFFF81
ΔE00 3.16
Faded Yellow
#FEFF7F
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FDFD97 #9797FD
analogous
#FDCA97 #FDFD97 #CAFD97
triadic
#FDFD97 #97FDFD #FD97FD
tetradic
#FDFD97 #97FDCA #9797FD #FD97CA
square
#FDFD97 #97FDCA #9797FD #FD97CA
split-complementary
#FDFD97 #97CAFD #CA97FD
monochromatic
#FBFB1F #FCFC5B #FDFD97 #FEFED3 #FEFEE1
Accessibility & contrast
On white
1.07
#FDFD97 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.67
#FDFD97 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FDFD97
19.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FDFD97 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FDFD97 | 1.00 | 1.07 | 19.67 | 19.67 |
| #FFFFFF | 1.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF58F
Deuteranopia (green-blind)
#FFF99C
Tritanopia (blue-blind)
#FFF1E4
Achromatopsia (no color)
#F7F7F7
Design tokens & code
CSS
--color: #fdfd97; /* rgb */ color: rgb(253, 253, 151); /* oklch */ color: oklch(97.2% 0.124 108.5);
Tailwind
colors: {
custom: {
50: '#fffeb7',
500: '#fdfd97',
950: '#000000',
},
}SCSS
$custom: #fdfd97; $custom-light: #fffeb7; $custom-dark: #000000;
JSON
{
"hex": "#fdfd97",
"rgb": {
"r": 253,
"g": 253,
"b": 151
},
"hsl": {
"h": 60,
"s": 96.226,
"l": 79.216
},
"oklch": {
"l": 0.97242,
"c": 0.1245,
"h": 108.5
},
"luminance": 0.93368
}Semantic roles & 50–950 ramp
primary
#FDFD97
secondary
#5959DF
accent
#00E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581