#F2F472#F2F472
#F2F472 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.0% C 0.152 H 109.8°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F472 |
|---|---|
| RGB | rgb(242, 244, 114) |
| HSL | hsl(61, 86%, 70%) |
| HSV | hsv(61, 53%, 96%) |
| CMYK | cmyk(0.8%, 0%, 53.3%, 4.3%) |
| CIE-LAB | lab(93.79, -17.44, 61.38) |
| CIE-LCH | lch(93.79, 63.81, 105.86°) |
| OKLab | oklab(94.05% -0.0516 0.1432) |
| OKLCH | oklch(94.05% 0.152 109.8) |
| XYZ | xyz(72.0077, 84.7952, 28.4902) |
| Luminance | 0.8479 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.00
Straw
#FCF679
ΔE00 2.03
Custard
#FFFD78
ΔE00 2.22
Light Yellow
#FFFE7A
ΔE00 2.27
Butter Yellow
#FFFD74
ΔE00 2.33
Faded Yellow
#FEFF7F
ΔE00 2.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F472 #7472F4
analogous
#F4B572 #F2F472 #B1F472
triadic
#F2F472 #72F2F4 #F472F2
tetradic
#F2F472 #72F4B5 #7472F4 #F472B1
square
#F2F472 #72F4B5 #7472F4 #F472B1
split-complementary
#F2F472 #72B1F4 #B572F4
monochromatic
#D7DB11 #EDF039 #F2F472 #F7F8AB #FCFDE3
Accessibility & contrast
On white
1.17
#F2F472 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.96
#F2F472 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F472
17.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F472 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F472 | 1.00 | 1.17 | 17.96 | 17.96 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB65
Deuteranopia (green-blind)
#FFEF79
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #f2f472; /* rgb */ color: rgb(242, 244, 114); /* oklch */ color: oklch(94.0% 0.152 109.8);
Tailwind
colors: {
custom: {
50: '#f9f79e',
500: '#f2f472',
950: '#000000',
},
}SCSS
$custom: #f2f472; $custom-light: #f9f79e; $custom-dark: #000000;
JSON
{
"hex": "#f2f472",
"rgb": {
"r": 242,
"g": 244,
"b": 114
},
"hsl": {
"h": 60.923,
"s": 85.526,
"l": 70.196
},
"oklch": {
"l": 0.94046,
"c": 0.15217,
"h": 109.8
},
"luminance": 0.84794
}Semantic roles & 50–950 ramp
primary
#F2F472
secondary
#3E3CCE
accent
#03E207
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580