#FFF2CB#FFF2CB
#FFF2CB is a very light, muted yellow. Relative luminance 0.891; OKLCH L 96.2% C 0.052 H 91.8°. Best body text is #000000 at 18.82:1 contrast (WCAG AA passes).
Color values
| HEX | #FFF2CB |
|---|---|
| RGB | rgb(255, 242, 203) |
| HSL | hsl(45, 100%, 90%) |
| HSV | hsv(45, 20%, 100%) |
| CMYK | cmyk(0%, 5.1%, 20.4%, 0%) |
| CIE-LAB | lab(95.61, -1.70, 20.42) |
| CIE-LCH | lch(95.61, 20.50, 94.76°) |
| OKLab | oklab(96.16% -0.0016 0.0524) |
| OKLCH | oklch(96.16% 0.052 91.8) |
| XYZ | xyz(83.7714, 89.0776, 69.2691) |
| Luminance | 0.8908 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pale
#FFF9D0
ΔE00 3.06
Cornsilk
#FFF8DC
ΔE00 3.76
Lemonchiffon
#FFFACD
ΔE00 3.81
Papayawhip
#FFEFD5
ΔE00 4.78
Blanchedalmond
#FFEBCD
ΔE00 4.85
Cream
#FFFDD0
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFF2CB #CBD8FF
analogous
#FFD8CB #FFF2CB #F2FFCB
triadic
#FFF2CB #CBFFF2 #F2CBFF
tetradic
#FFF2CB #CBFFD8 #CBD8FF #FFCBF2
square
#FFF2CB #CBFFD8 #CBD8FF #FFCBF2
split-complementary
#FFF2CB #CBF2FF #D8CBFF
monochromatic
#FFD351 #FFE38E #FFF2CB #FFF7E0 #FFF7E0
Accessibility & contrast
On white
1.12
#FFF2CB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.82
#FFF2CB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFF2CB
18.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFF2CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFF2CB | 1.00 | 1.12 | 18.82 | 18.82 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FBF0C9
Deuteranopia (green-blind)
#FEF4CC
Tritanopia (blue-blind)
#FFECE7
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #fff2cb; /* rgb */ color: rgb(255, 242, 203); /* oklch */ color: oklch(96.2% 0.052 91.8);
Tailwind
colors: {
custom: {
50: '#fff6db',
500: '#fff2cb',
950: '#000000',
},
}SCSS
$custom: #fff2cb; $custom-light: #fff6db; $custom-dark: #000000;
JSON
{
"hex": "#fff2cb",
"rgb": {
"r": 255,
"g": 242,
"b": 203
},
"hsl": {
"h": 45,
"s": 100,
"l": 89.804
},
"oklch": {
"l": 0.96162,
"c": 0.05245,
"h": 91.8
},
"luminance": 0.89076
}Semantic roles & 50–950 ramp
primary
#FFF2CB
secondary
#859EE9
accent
#39E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181715
muted
#868584