#F2F572#F2F572
#F2F572 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.3% C 0.153 H 110.2°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F572 |
|---|---|
| RGB | rgb(242, 245, 114) |
| HSL | hsl(61, 87%, 70%) |
| HSV | hsv(61, 53%, 96%) |
| CMYK | cmyk(1.2%, 0%, 53.5%, 3.9%) |
| CIE-LAB | lab(94.05, -17.93, 61.68) |
| CIE-LCH | lch(94.05, 64.23, 106.21°) |
| OKLab | oklab(94.25% -0.0529 0.1438) |
| OKLCH | oklch(94.25% 0.153 110.2) |
| XYZ | xyz(72.3094, 85.3987, 28.5908) |
| Luminance | 0.8540 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 1.95
Custard
#FFFD78
ΔE00 2.17
Light Yellow
#FFFE7A
ΔE00 2.19
Straw
#FCF679
ΔE00 2.20
Faded Yellow
#FEFF7F
ΔE00 2.21
Butter Yellow
#FFFD74
ΔE00 2.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F572 #7572F5
analogous
#F5B672 #F2F572 #B0F572
triadic
#F2F572 #72F2F5 #F572F2
tetradic
#F2F572 #72F5B6 #7572F5 #F572B0
square
#F2F572 #72F5B6 #7572F5 #F572B0
split-complementary
#F2F572 #72B0F5 #B672F5
monochromatic
#D8DD10 #EDF139 #F2F572 #F7F9AB #FCFDE2
Accessibility & contrast
On white
1.16
#F2F572 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.08
#F2F572 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F572
18.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F572 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F572 | 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)
#FFEC65
Deuteranopia (green-blind)
#FFF079
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #f2f572; /* rgb */ color: rgb(242, 245, 114); /* oklch */ color: oklch(94.3% 0.153 110.2);
Tailwind
colors: {
custom: {
50: '#f9f89e',
500: '#f2f572',
950: '#000000',
},
}SCSS
$custom: #f2f572; $custom-light: #f9f89e; $custom-dark: #000000;
JSON
{
"hex": "#f2f572",
"rgb": {
"r": 242,
"g": 245,
"b": 114
},
"hsl": {
"h": 61.374,
"s": 86.755,
"l": 70.392
},
"oklch": {
"l": 0.94253,
"c": 0.15324,
"h": 110.2
},
"luminance": 0.85397
}Semantic roles & 50–950 ramp
primary
#F2F572
secondary
#3F3CCF
accent
#02E307
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580