#FEFFD2#FEFFD2
#FEFFD2 is a very light, muted yellow. Relative luminance 0.972; OKLCH L 98.8% C 0.058 H 108.5°. Best body text is #000000 at 20.45:1 contrast (WCAG AA passes).
Color values
| HEX | #FEFFD2 |
|---|---|
| RGB | rgb(254, 255, 210) |
| HSL | hsl(61, 100%, 91%) |
| HSV | hsv(61, 18%, 100%) |
| CMYK | cmyk(0.4%, 0%, 17.6%, 0%) |
| CIE-LAB | lab(98.92, -7.55, 21.45) |
| CIE-LCH | lch(98.92, 22.74, 109.39°) |
| OKLab | oklab(98.8% -0.0184 0.055) |
| OKLCH | oklch(98.8% 0.058 108.5) |
| XYZ | xyz(88.2651, 97.2448, 75.0806) |
| Luminance | 0.9724 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Eggshell (survey)
#FFFFD4
ΔE00 0.62
Cream
#FFFDD0
ΔE00 1.04
Lightgoldenrodyellow
#FAFAD2
ΔE00 1.59
Ivory (survey)
#FFFFCB
ΔE00 1.71
Ecru
#FEFFCA
ΔE00 1.91
Lemonchiffon
#FFFACD
ΔE00 2.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FEFFD2 #D3D2FF
analogous
#FFE9D2 #FEFFD2 #E7FFD2
triadic
#FEFFD2 #D2FEFF #FFD2FE
tetradic
#FEFFD2 #D2FFE9 #D3D2FF #FFD2E7
square
#FEFFD2 #D2FFE9 #D3D2FF #FFD2E7
split-complementary
#FEFFD2 #D2E7FF #E9D2FF
monochromatic
#FBFF58 #FDFF95 #FEFFD2 #FEFFE0 #FEFFE0
Accessibility & contrast
On white
1.03
#FEFFD2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
20.45
#FEFFD2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FEFFD2
20.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FEFFD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FEFFD2 | 1.00 | 1.03 | 20.45 | 20.45 |
| #FFFFFF | 1.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 20.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 20.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFFBCF
Deuteranopia (green-blind)
#FFFDD4
Tritanopia (blue-blind)
#FFF9F2
Achromatopsia (no color)
#FCFCFC
Design tokens & code
CSS
--color: #feffd2; /* rgb */ color: rgb(254, 255, 210); /* oklch */ color: oklch(98.8% 0.058 108.5);
Tailwind
colors: {
custom: {
50: '#ffffe0',
500: '#feffd2',
950: '#000000',
},
}SCSS
$custom: #feffd2; $custom-light: #ffffe0; $custom-dark: #000000;
JSON
{
"hex": "#feffd2",
"rgb": {
"r": 254,
"g": 255,
"b": 210
},
"hsl": {
"h": 61.333,
"s": 100,
"l": 91.176
},
"oklch": {
"l": 0.98804,
"c": 0.05799,
"h": 108.5
},
"luminance": 0.97244
}Semantic roles & 50–950 ramp
primary
#FEFFD2
secondary
#8D8BEA
accent
#00E605
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181815
muted
#868684