#F2F968#F2F968
#F2F968 is a very light, vivid yellow. Relative luminance 0.876; OKLCH L 95.0% C 0.166 H 111.7°. Best body text is #000000 at 18.53:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F968 |
|---|---|
| RGB | rgb(242, 249, 104) |
| HSL | hsl(63, 92%, 69%) |
| HSV | hsv(63, 58%, 98%) |
| CMYK | cmyk(2.8%, 0%, 58.2%, 2.4%) |
| CIE-LAB | lab(95.00, -20.59, 67.05) |
| CIE-LCH | lch(95.00, 70.14, 107.07°) |
| OKLab | oklab(94.98% -0.0615 0.1542) |
| OKLCH | oklch(94.98% 0.166 111.7) |
| XYZ | xyz(72.9942, 87.6297, 26.1631) |
| Luminance | 0.8763 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 2.16
Pastel Yellow
#FFFE71
ΔE00 2.19
Butter Yellow
#FFFD74
ΔE00 2.34
Light Yellow
#FFFE7A
ΔE00 2.47
Custard
#FFFD78
ΔE00 2.48
Faded Yellow
#FEFF7F
ΔE00 2.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F968 #6F68F9
analogous
#F9B868 #F2F968 #A9F968
triadic
#F2F968 #68F2F9 #F968F2
tetradic
#F2F968 #68F9B8 #6F68F9 #F968A9
square
#F2F968 #68F9B8 #6F68F9 #F968A9
split-complementary
#F2F968 #68A9F9 #B868F9
monochromatic
#D4DE09 #EDF72D #F2F968 #F7FBA3 #FCFEDE
Accessibility & contrast
On white
1.13
#F2F968 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.53
#F2F968 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F968
18.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F968 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F968 | 1.00 | 1.13 | 18.53 | 18.53 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF58
Deuteranopia (green-blind)
#FFF371
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #f2f968; /* rgb */ color: rgb(242, 249, 104); /* oklch */ color: oklch(95.0% 0.166 111.7);
Tailwind
colors: {
custom: {
50: '#f9fb98',
500: '#f2f968',
950: '#000000',
},
}SCSS
$custom: #f2f968; $custom-light: #f9fb98; $custom-dark: #000000;
JSON
{
"hex": "#f2f968",
"rgb": {
"r": 242,
"g": 249,
"b": 104
},
"hsl": {
"h": 62.897,
"s": 92.357,
"l": 69.216
},
"oklch": {
"l": 0.94982,
"c": 0.16596,
"h": 111.7
},
"luminance": 0.87628
}Semantic roles & 50–950 ramp
primary
#F2F968
secondary
#3A32D3
accent
#00E60B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F