#F2F296#F2F296
#F2F296 is a very light, moderate yellow. Relative luminance 0.846; OKLCH L 94.1% C 0.114 H 108.4°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F296 |
|---|---|
| RGB | rgb(242, 242, 150) |
| HSL | hsl(60, 78%, 77%) |
| HSV | hsv(60, 38%, 95%) |
| CMYK | cmyk(0%, 0%, 38%, 5.1%) |
| CIE-LAB | lab(93.70, -13.14, 44.39) |
| CIE-LCH | lch(93.70, 46.29, 106.49°) |
| OKLab | oklab(94.11% -0.036 0.1083) |
| OKLCH | oklch(94.11% 0.114 108.4) |
| XYZ | xyz(73.8761, 84.5850, 41.2831) |
| Luminance | 0.8458 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Buff
#FEF69E
ΔE00 2.45
Dark Cream
#FFF39A
ΔE00 3.25
Khaki (CSS)
#F0E68C
ΔE00 3.41
Parchment
#FEFCAF
ΔE00 3.47
Light Khaki
#E6F2A2
ΔE00 3.91
Manilla
#FFFA86
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F296 #9696F2
analogous
#F2C496 #F2F296 #C4F296
triadic
#F2F296 #96F2F2 #F296F2
tetradic
#F2F296 #96F2C4 #9696F2 #F296C4
square
#F2F296 #96F2C4 #9696F2 #F296C4
split-complementary
#F2F296 #96C4F2 #C496F2
monochromatic
#E5E529 #EBEB60 #F2F296 #F9F9CC #FCFCE4
Accessibility & contrast
On white
1.17
#F2F296 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.92
#F2F296 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F296
17.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F296 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F296 | 1.00 | 1.17 | 17.92 | 17.92 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB8F
Deuteranopia (green-blind)
#FFEF9A
Tritanopia (blue-blind)
#FEE7DB
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #f2f296; /* rgb */ color: rgb(242, 242, 150); /* oklch */ color: oklch(94.1% 0.114 108.4);
Tailwind
colors: {
custom: {
50: '#f7f6b6',
500: '#f2f296',
950: '#000000',
},
}SCSS
$custom: #f2f296; $custom-light: #f7f6b6; $custom-dark: #000000;
JSON
{
"hex": "#f2f296",
"rgb": {
"r": 242,
"g": 242,
"b": 150
},
"hsl": {
"h": 60,
"s": 77.966,
"l": 76.863
},
"oklch": {
"l": 0.94112,
"c": 0.11412,
"h": 108.4
},
"luminance": 0.84584
}Semantic roles & 50–950 ramp
primary
#F2F296
secondary
#5D5DCF
accent
#0BDA0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581