#F2F666#F2F666
#F2F666 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.3% C 0.164 H 110.7°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F666 |
|---|---|
| RGB | rgb(242, 246, 102) |
| HSL | hsl(62, 89%, 68%) |
| HSV | hsv(62, 59%, 96%) |
| CMYK | cmyk(1.6%, 0%, 58.5%, 3.5%) |
| CIE-LAB | lab(94.21, -19.28, 67.01) |
| CIE-LCH | lch(94.21, 69.73, 106.06°) |
| OKLab | oklab(94.34% -0.058 0.1538) |
| OKLCH | oklch(94.34% 0.164 110.7) |
| XYZ | xyz(71.9740, 85.7498, 25.3278) |
| Luminance | 0.8575 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 2.14
Butter Yellow
#FFFD74
ΔE00 2.20
Canary
#FDFF63
ΔE00 2.26
Custard
#FFFD78
ΔE00 2.37
Light Yellow
#FFFE7A
ΔE00 2.45
Banana (survey)
#FFFF7E
ΔE00 2.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F666 #6A66F6
analogous
#F6B266 #F2F666 #AAF666
triadic
#F2F666 #66F2F6 #F666F2
tetradic
#F2F666 #66F6B2 #6A66F6 #F666AA
square
#F2F666 #66F6B2 #6A66F6 #F666AA
split-complementary
#F2F666 #66AAF6 #B266F6
monochromatic
#CFD50D #EDF32C #F2F666 #F7F9A0 #FCFDDA
Accessibility & contrast
On white
1.16
#F2F666 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.15
#F2F666 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F666
18.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F666 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F666 | 1.00 | 1.16 | 18.15 | 18.15 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC56
Deuteranopia (green-blind)
#FFF06F
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f2f666; /* rgb */ color: rgb(242, 246, 102); /* oklch */ color: oklch(94.3% 0.164 110.7);
Tailwind
colors: {
custom: {
50: '#f9f997',
500: '#f2f666',
950: '#000000',
},
}SCSS
$custom: #f2f666; $custom-light: #f9f997; $custom-dark: #000000;
JSON
{
"hex": "#f2f666",
"rgb": {
"r": 242,
"g": 246,
"b": 102
},
"hsl": {
"h": 61.667,
"s": 88.889,
"l": 68.235
},
"oklch": {
"l": 0.94338,
"c": 0.16439,
"h": 110.7
},
"luminance": 0.85748
}Semantic roles & 50–950 ramp
primary
#F2F666
secondary
#3631CF
accent
#00E606
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F