#FDF98E#FDF98E
#FDF98E is a very light, vivid yellow. Relative luminance 0.906; OKLCH L 96.3% C 0.129 H 106.7°. Best body text is #000000 at 19.12:1 contrast (WCAG AA passes).
Color values
| HEX | #FDF98E |
|---|---|
| RGB | rgb(253, 249, 142) |
| HSL | hsl(58, 97%, 77%) |
| HSV | hsv(58, 44%, 99%) |
| CMYK | cmyk(0%, 1.6%, 43.9%, 0.8%) |
| CIE-LAB | lab(96.24, -13.15, 51.61) |
| CIE-LCH | lch(96.24, 53.26, 104.30°) |
| OKLab | oklab(96.3% -0.0372 0.124) |
| OKLCH | oklch(96.3% 0.129 106.7) |
| XYZ | xyz(79.2678, 90.5890, 38.8957) |
| Luminance | 0.9059 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Manilla
#FFFA86
ΔE00 1.26
Yellowish Tan
#FCFC81
ΔE00 2.18
Pale Yellow
#FFFF84
ΔE00 2.34
Straw
#FCF679
ΔE00 2.53
Butter
#FFFF81
ΔE00 2.63
Faded Yellow
#FEFF7F
ΔE00 2.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FDF98E #8E92FD
analogous
#FDC28E #FDF98E #C9FD8E
triadic
#FDF98E #8EFDF9 #F98EFD
tetradic
#FDF98E #8EFDC2 #8E92FD #FD8EC9
square
#FDF98E #8EFDC2 #8E92FD #FD8EC9
split-complementary
#FDF98E #8EC9FD #C28EFD
monochromatic
#FBF316 #FCF652 #FDF98E #FEFCCA #FEFDE1
Accessibility & contrast
On white
1.10
#FDF98E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.12
#FDF98E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FDF98E
19.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FDF98E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FDF98E | 1.00 | 1.10 | 19.12 | 19.12 |
| #FFFFFF | 1.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF285
Deuteranopia (green-blind)
#FFF693
Tritanopia (blue-blind)
#FFEDE0
Achromatopsia (no color)
#F4F4F4
Design tokens & code
CSS
--color: #fdf98e; /* rgb */ color: rgb(253, 249, 142); /* oklch */ color: oklch(96.3% 0.129 106.7);
Tailwind
colors: {
custom: {
50: '#fffbb1',
500: '#fdf98e',
950: '#000000',
},
}SCSS
$custom: #fdf98e; $custom-light: #fffbb1; $custom-dark: #000000;
JSON
{
"hex": "#fdf98e",
"rgb": {
"r": 253,
"g": 249,
"b": 142
},
"hsl": {
"h": 57.838,
"s": 96.522,
"l": 77.451
},
"oklch": {
"l": 0.96301,
"c": 0.12946,
"h": 106.7
},
"luminance": 0.90587
}Semantic roles & 50–950 ramp
primary
#FDF98E
secondary
#5257DD
accent
#08E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581