#F2F266#F2F266
#F2F266 is a very light, vivid yellow. Relative luminance 0.833; OKLCH L 93.5% C 0.160 H 109.1°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F266 |
|---|---|
| RGB | rgb(242, 242, 102) |
| HSL | hsl(60, 84%, 67%) |
| HSV | hsv(60, 58%, 95%) |
| CMYK | cmyk(0%, 0%, 57.9%, 5.1%) |
| CIE-LAB | lab(93.16, -17.35, 65.87) |
| CIE-LCH | lch(93.16, 68.11, 104.76°) |
| OKLab | oklab(93.51% -0.0525 0.1514) |
| OKLCH | oklch(93.51% 0.16 109.1) |
| XYZ | xyz(70.7704, 83.3427, 24.9266) |
| Luminance | 0.8334 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 2.32
Butter Yellow
#FFFD74
ΔE00 2.42
Pastel Yellow
#FFFE71
ΔE00 2.51
Custard
#FFFD78
ΔE00 2.53
Light Yellow
#FFFE7A
ΔE00 2.72
Yellowish
#FAEE66
ΔE00 2.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F266 #6666F2
analogous
#F2AC66 #F2F266 #ACF266
triadic
#F2F266 #66F2F2 #F266F2
tetradic
#F2F266 #66F2AC #6666F2 #F266AC
square
#F2F266 #66F2AC #6666F2 #F266AC
split-complementary
#F2F266 #66ACF2 #AC66F2
monochromatic
#CCCC11 #EDED2E #F2F266 #F7F79E #FCFCD7
Accessibility & contrast
On white
1.19
#F2F266 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.67
#F2F266 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F266
17.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F266 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F266 | 1.00 | 1.19 | 17.67 | 17.67 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE956
Deuteranopia (green-blind)
#FFEE6E
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #f2f266; /* rgb */ color: rgb(242, 242, 102); /* oklch */ color: oklch(93.5% 0.160 109.1);
Tailwind
colors: {
custom: {
50: '#f9f697',
500: '#f2f266',
950: '#000000',
},
}SCSS
$custom: #f2f266; $custom-light: #f9f697; $custom-dark: #000000;
JSON
{
"hex": "#f2f266",
"rgb": {
"r": 242,
"g": 242,
"b": 102
},
"hsl": {
"h": 60,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.93507,
"c": 0.16024,
"h": 109.1
},
"luminance": 0.83341
}Semantic roles & 50–950 ramp
primary
#F2F266
secondary
#3434C9
accent
#05E105
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F