#F2FBAB#F2FBAB
#F2FBAB is a very light, moderate yellow. Relative luminance 0.908; OKLCH L 96.3% C 0.101 H 113.5°. Best body text is #000000 at 19.16:1 contrast (WCAG AA passes).
Color values
| HEX | #F2FBAB |
|---|---|
| RGB | rgb(242, 251, 171) |
| HSL | hsl(67, 91%, 83%) |
| HSV | hsv(67, 32%, 98%) |
| CMYK | cmyk(3.6%, 0%, 31.9%, 1.6%) |
| CIE-LAB | lab(96.33, -15.14, 37.43) |
| CIE-LCH | lch(96.33, 40.38, 112.03°) |
| OKLab | oklab(96.3% -0.0405 0.093) |
| OKLCH | oklch(96.3% 0.101 113.5) |
| XYZ | xyz(78.4660, 90.8127, 51.9152) |
| Luminance | 0.9081 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 2.13
Creme
#FFFFB6
ΔE00 2.79
Parchment
#FEFCAF
ΔE00 2.90
Light Beige
#FFFEB6
ΔE00 3.02
Cream (survey)
#FFFFC2
ΔE00 4.35
Buff
#FEF69E
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2FBAB #B4ABFB
analogous
#FBDCAB #F2FBAB #CAFBAB
triadic
#F2FBAB #ABF2FB #FBABF2
tetradic
#F2FBAB #ABFBDC #B4ABFB #FBABCA
square
#F2FBAB #ABFBDC #B4ABFB #FBABCA
split-complementary
#F2FBAB #ABCAFB #DCABFB
monochromatic
#E0F536 #E9F871 #F2FBAB #FAFEE2 #FAFEE2
Accessibility & contrast
On white
1.10
#F2FBAB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.16
#F2FBAB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2FBAB
19.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2FBAB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2FBAB | 1.00 | 1.10 | 19.16 | 19.16 |
| #FFFFFF | 1.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF4A5
Deuteranopia (green-blind)
#FFF5AE
Tritanopia (blue-blind)
#FBF2E6
Achromatopsia (no color)
#F4F4F4
Design tokens & code
CSS
--color: #f2fbab; /* rgb */ color: rgb(242, 251, 171); /* oklch */ color: oklch(96.3% 0.101 113.5);
Tailwind
colors: {
custom: {
50: '#f7fcc4',
500: '#f2fbab',
950: '#000000',
},
}SCSS
$custom: #f2fbab; $custom-light: #f7fcc4; $custom-dark: #000000;
JSON
{
"hex": "#f2fbab",
"rgb": {
"r": 242,
"g": 251,
"b": 171
},
"hsl": {
"h": 66.75,
"s": 90.909,
"l": 82.745
},
"oklch": {
"l": 0.96304,
"c": 0.10143,
"h": 113.5
},
"luminance": 0.90812
}Semantic roles & 50–950 ramp
primary
#F2FBAB
secondary
#796CDE
accent
#00E61A
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171713
muted
#858582