#F2F96A#F2F96A
#F2F96A is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.0% C 0.164 H 111.7°. Best body text is #000000 at 18.53:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F96A |
|---|---|
| RGB | rgb(242, 249, 106) |
| HSL | hsl(63, 92%, 70%) |
| HSV | hsv(63, 57%, 98%) |
| CMYK | cmyk(2.8%, 0%, 57.4%, 2.4%) |
| CIE-LAB | lab(95.02, -20.45, 66.23) |
| CIE-LCH | lch(95.02, 69.31, 107.16°) |
| OKLab | oklab(95% -0.0609 0.1527) |
| OKLCH | oklch(95% 0.164 111.7) |
| XYZ | xyz(73.0970, 87.6708, 26.7044) |
| Luminance | 0.8767 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 2.19
Canary
#FDFF63
ΔE00 2.28
Butter Yellow
#FFFD74
ΔE00 2.31
Light Yellow
#FFFE7A
ΔE00 2.39
Custard
#FFFD78
ΔE00 2.42
Faded Yellow
#FEFF7F
ΔE00 2.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F96A #716AF9
analogous
#F9B96A #F2F96A #ABF96A
triadic
#F2F96A #6AF2F9 #F96AF2
tetradic
#F2F96A #6AF9B9 #716AF9 #F96AAB
square
#F2F96A #6AF9B9 #716AF9 #F96AAB
split-complementary
#F2F96A #6AABF9 #B96AF9
monochromatic
#D5E009 #EDF72F #F2F96A #F7FBA5 #FCFEE0
Accessibility & contrast
On white
1.13
#F2F96A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.53
#F2F96A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F96A
18.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F96A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F96A | 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)
#FFEF5A
Deuteranopia (green-blind)
#FFF372
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #f2f96a; /* rgb */ color: rgb(242, 249, 106); /* oklch */ color: oklch(95.0% 0.164 111.7);
Tailwind
colors: {
custom: {
50: '#f9fb9a',
500: '#f2f96a',
950: '#000000',
},
}SCSS
$custom: #f2f96a; $custom-light: #f9fb9a; $custom-dark: #000000;
JSON
{
"hex": "#f2f96a",
"rgb": {
"r": 242,
"g": 249,
"b": 106
},
"hsl": {
"h": 62.937,
"s": 92.258,
"l": 69.608
},
"oklch": {
"l": 0.95002,
"c": 0.16434,
"h": 111.7
},
"luminance": 0.87669
}Semantic roles & 50–950 ramp
primary
#F2F96A
secondary
#3C34D3
accent
#00E60B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F