#F2F573#F2F573
#F2F573 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.3% C 0.152 H 110.2°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F573 |
|---|---|
| RGB | rgb(242, 245, 115) |
| HSL | hsl(61, 87%, 71%) |
| HSV | hsv(61, 53%, 96%) |
| CMYK | cmyk(1.2%, 0%, 53.1%, 3.9%) |
| CIE-LAB | lab(94.06, -17.85, 61.25) |
| CIE-LCH | lch(94.06, 63.79, 106.25°) |
| OKLab | oklab(94.26% -0.0526 0.143) |
| OKLCH | oklch(94.26% 0.152 110.2) |
| XYZ | xyz(72.3666, 85.4215, 28.8922) |
| Luminance | 0.8542 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 1.89
Straw
#FCF679
ΔE00 2.19
Custard
#FFFD78
ΔE00 2.19
Faded Yellow
#FEFF7F
ΔE00 2.19
Light Yellow
#FFFE7A
ΔE00 2.20
Banana (survey)
#FFFF7E
ΔE00 2.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F573 #7673F5
analogous
#F5B773 #F2F573 #B1F573
triadic
#F2F573 #73F2F5 #F573F2
tetradic
#F2F573 #73F5B7 #7673F5 #F573B1
square
#F2F573 #73F5B7 #7673F5 #F573B1
split-complementary
#F2F573 #73B1F5 #B773F5
monochromatic
#D9DE10 #EDF13A #F2F573 #F7F9AC #FCFDE2
Accessibility & contrast
On white
1.16
#F2F573 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.08
#F2F573 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F573
18.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F573 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F573 | 1.00 | 1.16 | 18.08 | 18.08 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC66
Deuteranopia (green-blind)
#FFF07A
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f2f573; /* rgb */ color: rgb(242, 245, 115); /* oklch */ color: oklch(94.3% 0.152 110.2);
Tailwind
colors: {
custom: {
50: '#f9f89f',
500: '#f2f573',
950: '#000000',
},
}SCSS
$custom: #f2f573; $custom-light: #f9f89f; $custom-dark: #000000;
JSON
{
"hex": "#f2f573",
"rgb": {
"r": 242,
"g": 245,
"b": 115
},
"hsl": {
"h": 61.385,
"s": 86.667,
"l": 70.588
},
"oklch": {
"l": 0.94264,
"c": 0.15236,
"h": 110.2
},
"luminance": 0.8542
}Semantic roles & 50–950 ramp
primary
#F2F573
secondary
#403DCF
accent
#02E307
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580