#F2FEA7#F2FEA7
#F2FEA7 is a very light, moderate yellow. Relative luminance 0.926; OKLCH L 96.9% C 0.110 H 114.9°. Best body text is #000000 at 19.51:1 contrast (WCAG AA passes).
Color values
| HEX | #F2FEA7 |
|---|---|
| RGB | rgb(242, 254, 167) |
| HSL | hsl(68, 98%, 83%) |
| HSV | hsv(68, 34%, 100%) |
| CMYK | cmyk(4.7%, 0%, 34.3%, 0.4%) |
| CIE-LAB | lab(97.05, -17.09, 40.35) |
| CIE-LCH | lch(97.05, 43.81, 112.95°) |
| OKLab | oklab(96.85% -0.0462 0.0997) |
| OKLCH | oklch(96.85% 0.11 114.9) |
| XYZ | xyz(79.0350, 92.5517, 50.2524) |
| Luminance | 0.9255 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 2.66
Creme
#FFFFB6
ΔE00 3.70
Parchment
#FEFCAF
ΔE00 3.71
Light Beige
#FFFEB6
ΔE00 3.98
Buff
#FEF69E
ΔE00 5.18
Cream (survey)
#FFFFC2
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2FEA7 #B3A7FE
analogous
#FEDFA7 #F2FEA7 #C6FEA7
triadic
#F2FEA7 #A7F2FE #FEA7F2
tetradic
#F2FEA7 #A7FEDF #B3A7FE #FEA7C6
square
#F2FEA7 #A7FEDF #B3A7FE #FEA7C6
split-complementary
#F2FEA7 #A7C6FE #DFA7FE
monochromatic
#E0FD2E #E9FD6A #F2FEA7 #FBFFE1 #FBFFE1
Accessibility & contrast
On white
1.08
#F2FEA7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.51
#F2FEA7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2FEA7
19.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2FEA7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2FEA7 | 1.00 | 1.08 | 19.51 | 19.51 |
| #FFFFFF | 1.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF6A1
Deuteranopia (green-blind)
#FFF7AB
Tritanopia (blue-blind)
#FCF5E8
Achromatopsia (no color)
#F6F6F6
Design tokens & code
CSS
--color: #f2fea7; /* rgb */ color: rgb(242, 254, 167); /* oklch */ color: oklch(96.9% 0.110 114.9);
Tailwind
colors: {
custom: {
50: '#f7fec2',
500: '#f2fea7',
950: '#000000',
},
}SCSS
$custom: #f2fea7; $custom-light: #f7fec2; $custom-dark: #000000;
JSON
{
"hex": "#f2fea7",
"rgb": {
"r": 242,
"g": 254,
"b": 167
},
"hsl": {
"h": 68.276,
"s": 97.753,
"l": 82.549
},
"oklch": {
"l": 0.96851,
"c": 0.10986,
"h": 114.9
},
"luminance": 0.92551
}Semantic roles & 50–950 ramp
primary
#F2FEA7
secondary
#7867E2
accent
#00E620
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171712
muted
#858582