#F2F2BF#F2F2BF
#F2F2BF is a very light, moderate yellow. Relative luminance 0.861; OKLCH L 94.9% C 0.066 H 107.6°. Best body text is #000000 at 18.23:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F2BF |
|---|---|
| RGB | rgb(242, 242, 191) |
| HSL | hsl(60, 66%, 85%) |
| HSV | hsv(60, 21%, 95%) |
| CMYK | cmyk(0%, 0%, 21.1%, 5.1%) |
| CIE-LAB | lab(94.37, -8.08, 24.70) |
| CIE-LCH | lch(94.37, 25.99, 108.13°) |
| OKLab | oklab(94.86% -0.0199 0.0629) |
| OKLCH | oklch(94.86% 0.066 107.6) |
| XYZ | xyz(77.7737, 86.1440, 61.8105) |
| Luminance | 0.8614 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Egg Shell
#FFFCC4
ΔE00 2.54
Ecru
#FEFFCA
ΔE00 2.64
Ivory (survey)
#FFFFCB
ΔE00 2.65
Cream
#FFFDD0
ΔE00 2.94
Lemonchiffon
#FFFACD
ΔE00 2.98
Cream (survey)
#FFFFC2
ΔE00 3.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F2BF #BFBFF2
analogous
#F2D9BF #F2F2BF #D9F2BF
triadic
#F2F2BF #BFF2F2 #F2BFF2
tetradic
#F2F2BF #BFF2D9 #BFBFF2 #F2BFD9
square
#F2F2BF #BFF2D9 #BFBFF2 #F2BFD9
split-complementary
#F2F2BF #BFD9F2 #D9BFF2
monochromatic
#DDDD59 #E8E88C #F2F2BF #FAFAE6 #FAFAE6
Accessibility & contrast
On white
1.15
#F2F2BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.23
#F2F2BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F2BF
18.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F2BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F2BF | 1.00 | 1.15 | 18.23 | 18.23 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FBEEBC
Deuteranopia (green-blind)
#FCF0C1
Tritanopia (blue-blind)
#FAEBE4
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #f2f2bf; /* rgb */ color: rgb(242, 242, 191); /* oklch */ color: oklch(94.9% 0.066 107.6);
Tailwind
colors: {
custom: {
50: '#f6f6d2',
500: '#f2f2bf',
950: '#000000',
},
}SCSS
$custom: #f2f2bf; $custom-light: #f6f6d2; $custom-dark: #000000;
JSON
{
"hex": "#f2f2bf",
"rgb": {
"r": 242,
"g": 242,
"b": 191
},
"hsl": {
"h": 60,
"s": 66.234,
"l": 84.902
},
"oklch": {
"l": 0.94863,
"c": 0.06593,
"h": 107.6
},
"luminance": 0.86143
}Semantic roles & 50–950 ramp
primary
#F2F2BF
secondary
#8383D2
accent
#17CE17
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171714
muted
#858583