#F2F976#F2F976
#F2F976 is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.1% C 0.154 H 111.8°. Best body text is #000000 at 18.59:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F976 |
|---|---|
| RGB | rgb(242, 249, 118) |
| HSL | hsl(63, 92%, 72%) |
| HSV | hsv(63, 53%, 98%) |
| CMYK | cmyk(2.8%, 0%, 52.6%, 2.4%) |
| CIE-LAB | lab(95.13, -19.54, 61.15) |
| CIE-LCH | lch(95.13, 64.19, 107.72°) |
| OKLab | oklab(95.13% -0.0571 0.1431) |
| OKLCH | oklch(95.13% 0.154 111.8) |
| XYZ | xyz(73.7653, 87.9381, 30.2240) |
| Luminance | 0.8794 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 1.94
Faded Yellow
#FEFF7F
ΔE00 1.98
Banana (survey)
#FFFF7E
ΔE00 2.15
Butter
#FFFF81
ΔE00 2.19
Light Yellow
#FFFE7A
ΔE00 2.25
Pale Yellow
#FFFF84
ΔE00 2.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F976 #7D76F9
analogous
#F9BF76 #F2F976 #B1F976
triadic
#F2F976 #76F2F9 #F976F2
tetradic
#F2F976 #76F9BF #7D76F9 #F976B1
square
#F2F976 #76F9BF #7D76F9 #F976B1
split-complementary
#F2F976 #76B1F9 #BF76F9
monochromatic
#DEEA0A #ECF63B #F2F976 #F8FCB1 #FCFEE2
Accessibility & contrast
On white
1.13
#F2F976 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.59
#F2F976 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F976
18.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F976 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F976 | 1.00 | 1.13 | 18.59 | 18.59 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF69
Deuteranopia (green-blind)
#FFF37D
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #f2f976; /* rgb */ color: rgb(242, 249, 118); /* oklch */ color: oklch(95.1% 0.154 111.8);
Tailwind
colors: {
custom: {
50: '#f9fba1',
500: '#f2f976',
950: '#000000',
},
}SCSS
$custom: #f2f976; $custom-light: #f9fba1; $custom-dark: #000000;
JSON
{
"hex": "#f2f976",
"rgb": {
"r": 242,
"g": 249,
"b": 118
},
"hsl": {
"h": 63.206,
"s": 91.608,
"l": 71.961
},
"oklch": {
"l": 0.95128,
"c": 0.15405,
"h": 111.8
},
"luminance": 0.87937
}Semantic roles & 50–950 ramp
primary
#F2F976
secondary
#463ED5
accent
#00E60C
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580