#F2F576#F2F576
#F2F576 is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.3% C 0.150 H 110.2°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F576 |
|---|---|
| RGB | rgb(242, 245, 118) |
| HSL | hsl(61, 86%, 71%) |
| HSV | hsv(61, 52%, 96%) |
| CMYK | cmyk(1.2%, 0%, 51.8%, 3.9%) |
| CIE-LAB | lab(94.09, -17.61, 59.94) |
| CIE-LCH | lch(94.09, 62.48, 106.37°) |
| OKLab | oklab(94.3% -0.0516 0.1405) |
| OKLCH | oklch(94.3% 0.15 110.2) |
| XYZ | xyz(72.5421, 85.4917, 29.8162) |
| Luminance | 0.8549 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 1.77
Faded Yellow
#FEFF7F
ΔE00 2.16
Straw
#FCF679
ΔE00 2.18
Light Yellow
#FFFE7A
ΔE00 2.26
Banana (survey)
#FFFF7E
ΔE00 2.27
Butter
#FFFF81
ΔE00 2.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F576 #7976F5
analogous
#F5B876 #F2F576 #B2F576
triadic
#F2F576 #76F2F5 #F576F2
tetradic
#F2F576 #76F5B8 #7976F5 #F576B2
square
#F2F576 #76F5B8 #7976F5 #F576B2
split-complementary
#F2F576 #76B2F5 #B876F5
monochromatic
#DBE010 #EDF13D #F2F576 #F7F9AF #FCFDE2
Accessibility & contrast
On white
1.16
#F2F576 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.10
#F2F576 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F576
18.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F576 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F576 | 1.00 | 1.16 | 18.10 | 18.10 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC6A
Deuteranopia (green-blind)
#FFF07D
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f2f576; /* rgb */ color: rgb(242, 245, 118); /* oklch */ color: oklch(94.3% 0.150 110.2);
Tailwind
colors: {
custom: {
50: '#f9f8a1',
500: '#f2f576',
950: '#000000',
},
}SCSS
$custom: #f2f576; $custom-light: #f9f8a1; $custom-dark: #000000;
JSON
{
"hex": "#f2f576",
"rgb": {
"r": 242,
"g": 245,
"b": 118
},
"hsl": {
"h": 61.417,
"s": 86.395,
"l": 71.176
},
"oklch": {
"l": 0.94298,
"c": 0.14966,
"h": 110.2
},
"luminance": 0.8549
}Semantic roles & 50–950 ramp
primary
#F2F576
secondary
#433FD0
accent
#03E308
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580