#F0FBB2#F0FBB2
#F0FBB2 is a very light, moderate yellow. Relative luminance 0.907; OKLCH L 96.3% C 0.094 H 115.2°. Best body text is #000000 at 19.15:1 contrast (WCAG AA passes).
Color values
| HEX | #F0FBB2 |
|---|---|
| RGB | rgb(240, 251, 178) |
| HSL | hsl(69, 90%, 84%) |
| HSV | hsv(69, 29%, 98%) |
| CMYK | cmyk(4.4%, 0%, 29.1%, 1.6%) |
| CIE-LAB | lab(96.30, -15.00, 33.87) |
| CIE-LCH | lch(96.30, 37.04, 113.89°) |
| OKLab | oklab(96.28% -0.0398 0.0848) |
| OKLCH | oklch(96.28% 0.094 115.2) |
| XYZ | xyz(78.4681, 90.7346, 55.4906) |
| Luminance | 0.9073 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 2.41
Creme
#FFFFB6
ΔE00 3.11
Light Beige
#FFFEB6
ΔE00 3.29
Parchment
#FEFCAF
ΔE00 3.60
Cream (survey)
#FFFFC2
ΔE00 3.81
Ecru
#FEFFCA
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0FBB2 #BDB2FB
analogous
#FBE2B2 #F0FBB2 #CCFBB2
triadic
#F0FBB2 #B2F0FB #FBB2F0
tetradic
#F0FBB2 #B2FBE2 #BDB2FB #FBB2CC
square
#F0FBB2 #B2FBE2 #BDB2FB #FBB2CC
split-complementary
#F0FBB2 #B2CCFB #E2B2FB
monochromatic
#D9F53E #E5F878 #F0FBB2 #F9FDE2 #F9FDE2
Accessibility & contrast
On white
1.10
#F0FBB2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.15
#F0FBB2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0FBB2
19.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0FBB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0FBB2 | 1.00 | 1.10 | 19.15 | 19.15 |
| #FFFFFF | 1.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF4AD
Deuteranopia (green-blind)
#FFF5B5
Tritanopia (blue-blind)
#F8F3E8
Achromatopsia (no color)
#F4F4F4
Design tokens & code
CSS
--color: #f0fbb2; /* rgb */ color: rgb(240, 251, 178); /* oklch */ color: oklch(96.3% 0.094 115.2);
Tailwind
colors: {
custom: {
50: '#f5fcc9',
500: '#f0fbb2',
950: '#000000',
},
}SCSS
$custom: #f0fbb2; $custom-light: #f5fcc9; $custom-dark: #000000;
JSON
{
"hex": "#f0fbb2",
"rgb": {
"r": 240,
"g": 251,
"b": 178
},
"hsl": {
"h": 69.041,
"s": 90.123,
"l": 84.118
},
"oklch": {
"l": 0.96279,
"c": 0.09364,
"h": 115.2
},
"luminance": 0.90734
}Semantic roles & 50–950 ramp
primary
#F0FBB2
secondary
#8372DF
accent
#00E623
background
#FFFFFD
surface
#FEFFF9
border
#D6D7D2
text
#171713
muted
#858582