#F2FCAF#F2FCAF
#F2FCAF is a very light, moderate yellow. Relative luminance 0.916; OKLCH L 96.6% C 0.098 H 114.3°. Best body text is #000000 at 19.32:1 contrast (WCAG AA passes).
Color values
| HEX | #F2FCAF |
|---|---|
| RGB | rgb(242, 252, 175) |
| HSL | hsl(68, 93%, 84%) |
| HSV | hsv(68, 31%, 99%) |
| CMYK | cmyk(4%, 0%, 30.6%, 1.2%) |
| CIE-LAB | lab(96.65, -15.14, 35.86) |
| CIE-LCH | lch(96.65, 38.93, 112.88°) |
| OKLab | oklab(96.58% -0.0403 0.0894) |
| OKLCH | oklch(96.58% 0.098 114.3) |
| XYZ | xyz(79.1662, 91.5939, 54.0580) |
| Luminance | 0.9159 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 2.31
Creme
#FFFFB6
ΔE00 2.79
Light Beige
#FFFEB6
ΔE00 3.02
Parchment
#FEFCAF
ΔE00 3.13
Cream (survey)
#FFFFC2
ΔE00 4.03
Egg Shell
#FFFCC4
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2FCAF #B9AFFC
analogous
#FCDFAF #F2FCAF #CBFCAF
triadic
#F2FCAF #AFF2FC #FCAFF2
tetradic
#F2FCAF #AFFCDF #B9AFFC #FCAFCB
square
#F2FCAF #AFFCDF #B9AFFC #FCAFCB
split-complementary
#F2FCAF #AFCBFC #DFAFFC
monochromatic
#DFF839 #E8FA74 #F2FCAF #FAFEE2 #FAFEE2
Accessibility & contrast
On white
1.09
#F2FCAF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.32
#F2FCAF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2FCAF
19.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2FCAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2FCAF | 1.00 | 1.09 | 19.32 | 19.32 |
| #FFFFFF | 1.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF5AA
Deuteranopia (green-blind)
#FFF6B2
Tritanopia (blue-blind)
#FBF3E8
Achromatopsia (no color)
#F5F5F5
Design tokens & code
CSS
--color: #f2fcaf; /* rgb */ color: rgb(242, 252, 175); /* oklch */ color: oklch(96.6% 0.098 114.3);
Tailwind
colors: {
custom: {
50: '#f7fdc7',
500: '#f2fcaf',
950: '#000000',
},
}SCSS
$custom: #f2fcaf; $custom-light: #f7fdc7; $custom-dark: #000000;
JSON
{
"hex": "#f2fcaf",
"rgb": {
"r": 242,
"g": 252,
"b": 175
},
"hsl": {
"h": 67.792,
"s": 92.771,
"l": 83.725
},
"oklch": {
"l": 0.9658,
"c": 0.09808,
"h": 114.3
},
"luminance": 0.91593
}Semantic roles & 50–950 ramp
primary
#F2FCAF
secondary
#7E6FE0
accent
#00E61E
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171713
muted
#858582