#F2F86D#F2F86D
#F2F86D is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 94.8% C 0.161 H 111.4°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F86D |
|---|---|
| RGB | rgb(242, 248, 109) |
| HSL | hsl(63, 91%, 70%) |
| HSV | hsv(63, 56%, 97%) |
| CMYK | cmyk(2.4%, 0%, 56%, 2.7%) |
| CIE-LAB | lab(94.79, -19.75, 64.69) |
| CIE-LCH | lch(94.79, 67.64, 106.98°) |
| OKLab | oklab(94.82% -0.0586 0.1497) |
| OKLCH | oklch(94.82% 0.161 111.4) |
| XYZ | xyz(72.9475, 87.1178, 27.4377) |
| Luminance | 0.8712 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 2.18
Butter Yellow
#FFFD74
ΔE00 2.21
Light Yellow
#FFFE7A
ΔE00 2.22
Custard
#FFFD78
ΔE00 2.25
Faded Yellow
#FEFF7F
ΔE00 2.27
Banana (survey)
#FFFF7E
ΔE00 2.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F86D #736DF8
analogous
#F8B96D #F2F86D #ACF86D
triadic
#F2F86D #6DF2F8 #F86DF2
tetradic
#F2F86D #6DF8B9 #736DF8 #F86DAC
square
#F2F86D #6DF8B9 #736DF8 #F86DAC
split-complementary
#F2F86D #6DACF8 #B96DF8
monochromatic
#D7E00B #EDF533 #F2F86D #F7FBA7 #FCFEE2
Accessibility & contrast
On white
1.14
#F2F86D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.42
#F2F86D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F86D
18.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F86D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F86D | 1.00 | 1.14 | 18.42 | 18.42 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEE5E
Deuteranopia (green-blind)
#FFF275
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #f2f86d; /* rgb */ color: rgb(242, 248, 109); /* oklch */ color: oklch(94.8% 0.161 111.4);
Tailwind
colors: {
custom: {
50: '#f9fa9b',
500: '#f2f86d',
950: '#000000',
},
}SCSS
$custom: #f2f86d; $custom-light: #f9fa9b; $custom-dark: #000000;
JSON
{
"hex": "#f2f86d",
"rgb": {
"r": 242,
"g": 248,
"b": 109
},
"hsl": {
"h": 62.59,
"s": 90.85,
"l": 70
},
"oklch": {
"l": 0.94824,
"c": 0.16078,
"h": 111.4
},
"luminance": 0.87116
}Semantic roles & 50–950 ramp
primary
#F2F86D
secondary
#3D37D2
accent
#00E60A
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F