#F2FCAB#F2FCAB
#F2FCAB is a very light, moderate yellow. Relative luminance 0.914; OKLCH L 96.5% C 0.103 H 114.1°. Best body text is #000000 at 19.29:1 contrast (WCAG AA passes).
Color values
| HEX | #F2FCAB |
|---|---|
| RGB | rgb(242, 252, 171) |
| HSL | hsl(67, 93%, 83%) |
| HSV | hsv(67, 32%, 99%) |
| CMYK | cmyk(4%, 0%, 32.1%, 1.2%) |
| CIE-LAB | lab(96.59, -15.63, 37.77) |
| CIE-LCH | lch(96.59, 40.88, 112.48°) |
| OKLab | oklab(96.51% -0.0419 0.0938) |
| OKLCH | oklch(96.51% 0.103 114.1) |
| XYZ | xyz(78.7792, 91.4391, 52.0196) |
| Luminance | 0.9144 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 2.22
Creme
#FFFFB6
ΔE00 2.98
Parchment
#FEFCAF
ΔE00 3.11
Light Beige
#FFFEB6
ΔE00 3.22
Cream (survey)
#FFFFC2
ΔE00 4.54
Buff
#FEF69E
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2FCAB #B5ABFC
analogous
#FCDDAB #F2FCAB #CAFCAB
triadic
#F2FCAB #ABF2FC #FCABF2
tetradic
#F2FCAB #ABFCDD #B5ABFC #FCABCA
square
#F2FCAB #ABFCDD #B5ABFC #FCABCA
split-complementary
#F2FCAB #ABCAFC #DDABFC
monochromatic
#E0F835 #E9FA70 #F2FCAB #FAFEE1 #FAFEE1
Accessibility & contrast
On white
1.09
#F2FCAB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.29
#F2FCAB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2FCAB
19.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2FCAB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2FCAB | 1.00 | 1.09 | 19.29 | 19.29 |
| #FFFFFF | 1.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF4A5
Deuteranopia (green-blind)
#FFF6AE
Tritanopia (blue-blind)
#FBF3E7
Achromatopsia (no color)
#F5F5F5
Design tokens & code
CSS
--color: #f2fcab; /* rgb */ color: rgb(242, 252, 171); /* oklch */ color: oklch(96.5% 0.103 114.1);
Tailwind
colors: {
custom: {
50: '#f7fdc4',
500: '#f2fcab',
950: '#000000',
},
}SCSS
$custom: #f2fcab; $custom-light: #f7fdc4; $custom-dark: #000000;
JSON
{
"hex": "#f2fcab",
"rgb": {
"r": 242,
"g": 252,
"b": 171
},
"hsl": {
"h": 67.407,
"s": 93.103,
"l": 82.941
},
"oklch": {
"l": 0.96509,
"c": 0.10271,
"h": 114.1
},
"luminance": 0.91438
}Semantic roles & 50–950 ramp
primary
#F2FCAB
secondary
#7A6BE0
accent
#00E61C
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171713
muted
#858582