#F2F86A#F2F86A
#F2F86A is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 94.8% C 0.163 H 111.4°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F86A |
|---|---|
| RGB | rgb(242, 248, 106) |
| HSL | hsl(63, 91%, 69%) |
| HSV | hsv(63, 57%, 97%) |
| CMYK | cmyk(2.4%, 0%, 57.3%, 2.7%) |
| CIE-LAB | lab(94.76, -19.97, 65.94) |
| CIE-LCH | lch(94.76, 68.90, 106.85°) |
| OKLab | oklab(94.79% -0.0595 0.152) |
| OKLCH | oklch(94.79% 0.163 111.4) |
| XYZ | xyz(72.7887, 87.0543, 26.6017) |
| Luminance | 0.8705 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 2.14
Butter Yellow
#FFFD74
ΔE00 2.22
Light Yellow
#FFFE7A
ΔE00 2.32
Custard
#FFFD78
ΔE00 2.32
Canary
#FDFF63
ΔE00 2.33
Faded Yellow
#FEFF7F
ΔE00 2.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F86A #706AF8
analogous
#F8B76A #F2F86A #ABF86A
triadic
#F2F86A #6AF2F8 #F86AF2
tetradic
#F2F86A #6AF8B7 #706AF8 #F86AAB
square
#F2F86A #6AF8B7 #706AF8 #F86AAB
split-complementary
#F2F86A #6AABF8 #B76AF8
monochromatic
#D4DD0A #EDF530 #F2F86A #F7FBA4 #FCFDDF
Accessibility & contrast
On white
1.14
#F2F86A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.41
#F2F86A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F86A
18.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F86A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F86A | 1.00 | 1.14 | 18.41 | 18.41 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEE5A
Deuteranopia (green-blind)
#FFF272
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #f2f86a; /* rgb */ color: rgb(242, 248, 106); /* oklch */ color: oklch(94.8% 0.163 111.4);
Tailwind
colors: {
custom: {
50: '#f9fa99',
500: '#f2f86a',
950: '#000000',
},
}SCSS
$custom: #f2f86a; $custom-light: #f9fa99; $custom-dark: #000000;
JSON
{
"hex": "#f2f86a",
"rgb": {
"r": 242,
"g": 248,
"b": 106
},
"hsl": {
"h": 62.535,
"s": 91.026,
"l": 69.412
},
"oklch": {
"l": 0.94793,
"c": 0.16327,
"h": 111.4
},
"luminance": 0.87053
}Semantic roles & 50–950 ramp
primary
#F2F86A
secondary
#3B34D2
accent
#00E60A
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F