#FDF2B2#FDF2B2
#FDF2B2 is a very light, moderate yellow. Relative luminance 0.876; OKLCH L 95.5% C 0.082 H 99.5°. Best body text is #000000 at 18.52:1 contrast (WCAG AA passes).
Color values
| HEX | #FDF2B2 |
|---|---|
| RGB | rgb(253, 242, 178) |
| HSL | hsl(51, 95%, 85%) |
| HSV | hsv(51, 30%, 99%) |
| CMYK | cmyk(0%, 4.3%, 29.6%, 0.8%) |
| CIE-LAB | lab(94.99, -5.75, 32.29) |
| CIE-LCH | lch(94.99, 32.80, 100.10°) |
| OKLab | oklab(95.48% -0.0136 0.081) |
| OKLCH | oklch(95.48% 0.082 99.5) |
| XYZ | xyz(80.2967, 87.6031, 54.7901) |
| Luminance | 0.8760 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Tan
#FBEEAC
ΔE00 1.05
Palegoldenrod
#EEE8AA
ΔE00 2.75
Vanilla
#F3E5AB
ΔE00 3.02
Egg Shell
#FFFCC4
ΔE00 3.45
Light Beige
#FFFEB6
ΔE00 3.76
Parchment
#FEFCAF
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FDF2B2 #B2BDFD
analogous
#FDCDB2 #FDF2B2 #E3FDB2
triadic
#FDF2B2 #B2FDF2 #F2B2FD
tetradic
#FDF2B2 #B2FDCD #B2BDFD #FDB2E3
square
#FDF2B2 #B2FDCD #B2BDFD #FDB2E3
split-complementary
#FDF2B2 #B2E3FD #CDB2FD
monochromatic
#FADE3B #FBE876 #FDF2B2 #FEFAE1 #FEFAE1
Accessibility & contrast
On white
1.13
#FDF2B2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.52
#FDF2B2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FDF2B2
18.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FDF2B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FDF2B2 | 1.00 | 1.13 | 18.52 | 18.52 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FEEEAE
Deuteranopia (green-blind)
#FFF3B4
Tritanopia (blue-blind)
#FFE9E1
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #fdf2b2; /* rgb */ color: rgb(253, 242, 178); /* oklch */ color: oklch(95.5% 0.082 99.5);
Tailwind
colors: {
custom: {
50: '#fff6c9',
500: '#fdf2b2',
950: '#000000',
},
}SCSS
$custom: #fdf2b2; $custom-light: #fff6c9; $custom-dark: #000000;
JSON
{
"hex": "#fdf2b2",
"rgb": {
"r": 253,
"g": 242,
"b": 178
},
"hsl": {
"h": 51.2,
"s": 94.937,
"l": 84.51
},
"oklch": {
"l": 0.95484,
"c": 0.0821,
"h": 99.5
},
"luminance": 0.87601
}Semantic roles & 50–950 ramp
primary
#FDF2B2
secondary
#7181E2
accent
#22E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582