#F2F471#F2F471
#F2F471 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.0% C 0.153 H 109.8°. Best body text is #000000 at 17.95:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F471 |
|---|---|
| RGB | rgb(242, 244, 113) |
| HSL | hsl(61, 86%, 70%) |
| HSV | hsv(61, 54%, 96%) |
| CMYK | cmyk(0.8%, 0%, 53.7%, 4.3%) |
| CIE-LAB | lab(93.78, -17.52, 61.81) |
| CIE-LCH | lch(93.78, 64.25, 105.83°) |
| OKLab | oklab(94.04% -0.0519 0.144) |
| OKLCH | oklch(94.04% 0.153 109.8) |
| XYZ | xyz(71.9511, 84.7726, 28.1921) |
| Luminance | 0.8477 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.05
Straw
#FCF679
ΔE00 2.05
Custard
#FFFD78
ΔE00 2.20
Light Yellow
#FFFE7A
ΔE00 2.26
Butter Yellow
#FFFD74
ΔE00 2.29
Faded Yellow
#FEFF7F
ΔE00 2.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F471 #7371F4
analogous
#F4B471 #F2F471 #B1F471
triadic
#F2F471 #71F2F4 #F471F2
tetradic
#F2F471 #71F4B4 #7371F4 #F471B1
square
#F2F471 #71F4B4 #7371F4 #F471B1
split-complementary
#F2F471 #71B1F4 #B471F4
monochromatic
#D7DA11 #EDF038 #F2F471 #F7F8AA #FCFDE3
Accessibility & contrast
On white
1.17
#F2F471 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.95
#F2F471 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F471
17.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F471 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F471 | 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)
#FFEB64
Deuteranopia (green-blind)
#FFEF78
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #f2f471; /* rgb */ color: rgb(242, 244, 113); /* oklch */ color: oklch(94.0% 0.153 109.8);
Tailwind
colors: {
custom: {
50: '#f9f79e',
500: '#f2f471',
950: '#000000',
},
}SCSS
$custom: #f2f471; $custom-light: #f9f79e; $custom-dark: #000000;
JSON
{
"hex": "#f2f471",
"rgb": {
"r": 242,
"g": 244,
"b": 113
},
"hsl": {
"h": 60.916,
"s": 85.621,
"l": 70
},
"oklch": {
"l": 0.94035,
"c": 0.15305,
"h": 109.8
},
"luminance": 0.84771
}Semantic roles & 50–950 ramp
primary
#F2F471
secondary
#3D3BCE
accent
#03E207
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580