#FCF2B2#FCF2B2
#FCF2B2 is a very light, moderate yellow. Relative luminance 0.874; OKLCH L 95.4% C 0.082 H 100.3°. Best body text is #000000 at 18.48:1 contrast (WCAG AA passes).
Color values
| HEX | #FCF2B2 |
|---|---|
| RGB | rgb(252, 242, 178) |
| HSL | hsl(52, 93%, 84%) |
| HSV | hsv(52, 29%, 99%) |
| CMYK | cmyk(0%, 4%, 29.4%, 1.2%) |
| CIE-LAB | lab(94.91, -6.12, 32.17) |
| CIE-LCH | lch(94.91, 32.75, 100.78°) |
| OKLab | oklab(95.4% -0.0146 0.0807) |
| OKLCH | oklch(95.4% 0.082 100.3) |
| XYZ | xyz(79.9335, 87.4158, 54.7730) |
| Luminance | 0.8741 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Tan
#FBEEAC
ΔE00 1.22
Palegoldenrod
#EEE8AA
ΔE00 2.57
Vanilla
#F3E5AB
ΔE00 3.10
Egg Shell
#FFFCC4
ΔE00 3.28
Light Beige
#FFFEB6
ΔE00 3.56
Parchment
#FEFCAF
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FCF2B2 #B2BCFC
analogous
#FCCDB2 #FCF2B2 #E1FCB2
triadic
#FCF2B2 #B2FCF2 #F2B2FC
tetradic
#FCF2B2 #B2FCCD #B2BCFC #FCB2E1
square
#FCF2B2 #B2FCCD #B2BCFC #FCB2E1
split-complementary
#FCF2B2 #B2E1FC #CDB2FC
monochromatic
#F7DE3C #FAE877 #FCF2B2 #FEFAE2 #FEFAE2
Accessibility & contrast
On white
1.14
#FCF2B2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.48
#FCF2B2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FCF2B2
18.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FCF2B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FCF2B2 | 1.00 | 1.14 | 18.48 | 18.48 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FEEEAE
Deuteranopia (green-blind)
#FFF2B4
Tritanopia (blue-blind)
#FFE9E1
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #fcf2b2; /* rgb */ color: rgb(252, 242, 178); /* oklch */ color: oklch(95.4% 0.082 100.3);
Tailwind
colors: {
custom: {
50: '#fef6c9',
500: '#fcf2b2',
950: '#000000',
},
}SCSS
$custom: #fcf2b2; $custom-light: #fef6c9; $custom-dark: #000000;
JSON
{
"hex": "#fcf2b2",
"rgb": {
"r": 252,
"g": 242,
"b": 178
},
"hsl": {
"h": 51.892,
"s": 92.5,
"l": 84.314
},
"oklch": {
"l": 0.95402,
"c": 0.08201,
"h": 100.3
},
"luminance": 0.87414
}Semantic roles & 50–950 ramp
primary
#FCF2B2
secondary
#7181E1
accent
#1FE600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582