#F2FB6F#F2FB6F
#F2FB6F is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.5% C 0.162 H 112.5°. Best body text is #000000 at 18.80:1 contrast (WCAG AA passes).
Color values
| HEX | #F2FB6F |
|---|---|
| RGB | rgb(242, 251, 111) |
| HSL | hsl(64, 95%, 71%) |
| HSV | hsv(64, 56%, 98%) |
| CMYK | cmyk(3.6%, 0%, 55.8%, 1.6%) |
| CIE-LAB | lab(95.59, -21.04, 64.73) |
| CIE-LCH | lch(95.59, 68.06, 108.01°) |
| OKLab | oklab(95.47% -0.0621 0.15) |
| OKLCH | oklch(95.47% 0.162 112.5) |
| XYZ | xyz(73.9861, 89.0208, 28.3211) |
| Luminance | 0.8902 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Faded Yellow
#FEFF7F
ΔE00 2.33
Pastel Yellow
#FFFE71
ΔE00 2.45
Banana (survey)
#FFFF7E
ΔE00 2.45
Light Yellow
#FFFE7A
ΔE00 2.45
Butter Yellow
#FFFD74
ΔE00 2.55
Custard
#FFFD78
ΔE00 2.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2FB6F #786FFB
analogous
#FBBE6F #F2FB6F #ACFB6F
triadic
#F2FB6F #6FF2FB #FB6FF2
tetradic
#F2FB6F #6FFBBE #786FFB #FB6FAC
square
#F2FB6F #6FFBBE #786FFB #FB6FAC
split-complementary
#F2FB6F #6FACFB #BE6FFB
monochromatic
#DBE906 #EDF933 #F2FB6F #F7FDAB #FCFEE1
Accessibility & contrast
On white
1.12
#F2FB6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.80
#F2FB6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2FB6F
18.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2FB6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2FB6F | 1.00 | 1.12 | 18.80 | 18.80 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF160
Deuteranopia (green-blind)
#FFF477
Tritanopia (blue-blind)
#FFEEDD
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #f2fb6f; /* rgb */ color: rgb(242, 251, 111); /* oklch */ color: oklch(95.5% 0.162 112.5);
Tailwind
colors: {
custom: {
50: '#f9fc9d',
500: '#f2fb6f',
950: '#000000',
},
}SCSS
$custom: #f2fb6f; $custom-light: #f9fc9d; $custom-dark: #000000;
JSON
{
"hex": "#f2fb6f",
"rgb": {
"r": 242,
"g": 251,
"b": 111
},
"hsl": {
"h": 63.857,
"s": 94.595,
"l": 70.98
},
"oklch": {
"l": 0.95469,
"c": 0.16236,
"h": 112.5
},
"luminance": 0.89019
}Semantic roles & 50–950 ramp
primary
#F2FB6F
secondary
#4238D6
accent
#00E60F
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580