#F2F470#F2F470
#F2F470 is a very light, vivid yellow. Relative luminance 0.847; OKLCH L 94.0% C 0.154 H 109.8°. Best body text is #000000 at 17.95:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F470 |
|---|---|
| RGB | rgb(242, 244, 112) |
| HSL | hsl(61, 86%, 70%) |
| HSV | hsv(61, 54%, 96%) |
| CMYK | cmyk(0.8%, 0%, 54.1%, 4.3%) |
| CIE-LAB | lab(93.78, -17.60, 62.24) |
| CIE-LCH | lch(93.78, 64.68, 105.79°) |
| OKLab | oklab(94.02% -0.0522 0.1448) |
| OKLCH | oklch(94.02% 0.154 109.8) |
| XYZ | xyz(71.8951, 84.7502, 27.8973) |
| Luminance | 0.8475 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 2.08
Yellowish Tan
#FCFC81
ΔE00 2.11
Custard
#FFFD78
ΔE00 2.19
Butter Yellow
#FFFD74
ΔE00 2.26
Light Yellow
#FFFE7A
ΔE00 2.26
Faded Yellow
#FEFF7F
ΔE00 2.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F470 #7270F4
analogous
#F4B470 #F2F470 #B0F470
triadic
#F2F470 #70F2F4 #F470F2
tetradic
#F2F470 #70F4B4 #7270F4 #F470B0
square
#F2F470 #70F4B4 #7270F4 #F470B0
split-complementary
#F2F470 #70B0F4 #B470F4
monochromatic
#D6D911 #EDF037 #F2F470 #F7F8A9 #FCFDE2
Accessibility & contrast
On white
1.17
#F2F470 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.95
#F2F470 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F470
17.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F470 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F470 | 1.00 | 1.17 | 17.95 | 17.95 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB63
Deuteranopia (green-blind)
#FFEF77
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #f2f470; /* rgb */ color: rgb(242, 244, 112); /* oklch */ color: oklch(94.0% 0.154 109.8);
Tailwind
colors: {
custom: {
50: '#f9f79d',
500: '#f2f470',
950: '#000000',
},
}SCSS
$custom: #f2f470; $custom-light: #f9f79d; $custom-dark: #000000;
JSON
{
"hex": "#f2f470",
"rgb": {
"r": 242,
"g": 244,
"b": 112
},
"hsl": {
"h": 60.909,
"s": 85.714,
"l": 69.804
},
"oklch": {
"l": 0.94024,
"c": 0.15393,
"h": 109.8
},
"luminance": 0.84748
}Semantic roles & 50–950 ramp
primary
#F2F470
secondary
#3D3ACE
accent
#03E207
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580