#F2F960#F2F960
#F2F960 is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 94.9% C 0.172 H 111.7°. Best body text is #000000 at 18.49:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F960 |
|---|---|
| RGB | rgb(242, 249, 96) |
| HSL | hsl(63, 93%, 68%) |
| HSV | hsv(63, 61%, 98%) |
| CMYK | cmyk(2.8%, 0%, 61.4%, 2.4%) |
| CIE-LAB | lab(94.94, -21.12, 70.25) |
| CIE-LCH | lch(94.94, 73.36, 106.73°) |
| OKLab | oklab(94.91% -0.0638 0.1599) |
| OKLCH | oklch(94.91% 0.172 111.7) |
| XYZ | xyz(72.6070, 87.4748, 24.1236) |
| Luminance | 0.8747 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 1.81
Pastel Yellow
#FFFE71
ΔE00 2.35
Lemon (survey)
#FDFF52
ΔE00 2.60
Butter Yellow
#FFFD74
ΔE00 2.61
Banana Yellow
#FAFE4B
ΔE00 2.63
Custard
#FFFD78
ΔE00 2.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F960 #6760F9
analogous
#F9B360 #F2F960 #A6F960
triadic
#F2F960 #60F2F9 #F960F2
tetradic
#F2F960 #60F9B3 #6760F9 #F960A6
square
#F2F960 #60F9B3 #6760F9 #F960A6
split-complementary
#F2F960 #60A6F9 #B360F9
monochromatic
#CDD708 #EDF725 #F2F960 #F7FB9B #FCFDD6
Accessibility & contrast
On white
1.14
#F2F960 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.49
#F2F960 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F960
18.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F960 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F960 | 1.00 | 1.14 | 18.49 | 18.49 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEE4D
Deuteranopia (green-blind)
#FFF26A
Tritanopia (blue-blind)
#FFEBD9
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #f2f960; /* rgb */ color: rgb(242, 249, 96); /* oklch */ color: oklch(94.9% 0.172 111.7);
Tailwind
colors: {
custom: {
50: '#f9fb94',
500: '#f2f960',
950: '#000000',
},
}SCSS
$custom: #f2f960; $custom-light: #f9fb94; $custom-dark: #000000;
JSON
{
"hex": "#f2f960",
"rgb": {
"r": 242,
"g": 249,
"b": 96
},
"hsl": {
"h": 62.745,
"s": 92.727,
"l": 67.647
},
"oklch": {
"l": 0.94909,
"c": 0.17216,
"h": 111.7
},
"luminance": 0.87473
}Semantic roles & 50–950 ramp
primary
#F2F960
secondary
#342CD1
accent
#00E60A
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F