#F2F476#F2F476
#F2F476 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.1% C 0.149 H 109.8°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F476 |
|---|---|
| RGB | rgb(242, 244, 118) |
| HSL | hsl(61, 85%, 71%) |
| HSV | hsv(61, 52%, 96%) |
| CMYK | cmyk(0.8%, 0%, 51.6%, 4.3%) |
| CIE-LAB | lab(93.83, -17.13, 59.64) |
| CIE-LCH | lch(93.83, 62.05, 106.02°) |
| OKLab | oklab(94.09% -0.0503 0.1398) |
| OKLCH | oklch(94.09% 0.149 109.8) |
| XYZ | xyz(72.2404, 84.8883, 29.7157) |
| Luminance | 0.8489 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 1.83
Straw
#FCF679
ΔE00 2.02
Faded Yellow
#FEFF7F
ΔE00 2.30
Custard
#FFFD78
ΔE00 2.34
Light Yellow
#FFFE7A
ΔE00 2.35
Butter
#FFFF81
ΔE00 2.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F476 #7876F4
analogous
#F4B776 #F2F476 #B3F476
triadic
#F2F476 #76F2F4 #F476F2
tetradic
#F2F476 #76F4B7 #7876F4 #F476B3
square
#F2F476 #76F4B7 #7876F4 #F476B3
split-complementary
#F2F476 #76B3F4 #B776F4
monochromatic
#DBDE12 #EDEF3D #F2F476 #F7F9AF #FCFDE3
Accessibility & contrast
On white
1.17
#F2F476 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.98
#F2F476 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F476
17.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F476 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F476 | 1.00 | 1.17 | 17.98 | 17.98 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB6A
Deuteranopia (green-blind)
#FFEF7D
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #f2f476; /* rgb */ color: rgb(242, 244, 118); /* oklch */ color: oklch(94.1% 0.149 109.8);
Tailwind
colors: {
custom: {
50: '#f9f7a1',
500: '#f2f476',
950: '#000000',
},
}SCSS
$custom: #f2f476; $custom-light: #f9f7a1; $custom-dark: #000000;
JSON
{
"hex": "#f2f476",
"rgb": {
"r": 242,
"g": 244,
"b": 118
},
"hsl": {
"h": 60.952,
"s": 85.135,
"l": 70.98
},
"oklch": {
"l": 0.94091,
"c": 0.14858,
"h": 109.8
},
"luminance": 0.84887
}Semantic roles & 50–950 ramp
primary
#F2F476
secondary
#4240CF
accent
#04E207
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580