#F2FC7E#F2FC7E
#F2FC7E is a very light, vivid yellow. Relative luminance 0.900; OKLCH L 95.8% C 0.150 H 113.0°. Best body text is #000000 at 19.00:1 contrast (WCAG AA passes).
Color values
| HEX | #F2FC7E |
|---|---|
| RGB | rgb(242, 252, 126) |
| HSL | hsl(65, 95%, 74%) |
| HSV | hsv(65, 50%, 99%) |
| CMYK | cmyk(4%, 0%, 50%, 1.2%) |
| CIE-LAB | lab(96.00, -20.32, 58.56) |
| CIE-LCH | lch(96.00, 61.98, 109.13°) |
| OKLab | oklab(95.85% -0.0585 0.1382) |
| OKLCH | oklch(95.85% 0.15 113) |
| XYZ | xyz(75.1956, 90.0057, 33.1462) |
| Luminance | 0.9000 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.27
Faded Yellow
#FEFF7F
ΔE00 2.29
Pale Yellow
#FFFF84
ΔE00 2.45
Butter
#FFFF81
ΔE00 2.47
Banana (survey)
#FFFF7E
ΔE00 2.55
Light Yellow
#FFFE7A
ΔE00 2.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2FC7E #887EFC
analogous
#FCC77E #F2FC7E #B3FC7E
triadic
#F2FC7E #7EF2FC #FC7EF2
tetradic
#F2FC7E #7EFCC7 #887EFC #FC7EB3
square
#F2FC7E #7EFCC7 #887EFC #FC7EB3
split-complementary
#F2FC7E #7EB3FC #C77EFC
monochromatic
#E6F906 #ECFB42 #F2FC7E #F8FDBA #FCFEE1
Accessibility & contrast
On white
1.11
#F2FC7E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.00
#F2FC7E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2FC7E
19.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2FC7E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2FC7E | 1.00 | 1.11 | 19.00 | 19.00 |
| #FFFFFF | 1.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF272
Deuteranopia (green-blind)
#FFF585
Tritanopia (blue-blind)
#FFF0DF
Achromatopsia (no color)
#F3F3F3
Design tokens & code
CSS
--color: #f2fc7e; /* rgb */ color: rgb(242, 252, 126); /* oklch */ color: oklch(95.8% 0.150 113.0);
Tailwind
colors: {
custom: {
50: '#f8fda6',
500: '#f2fc7e',
950: '#000000',
},
}SCSS
$custom: #f2fc7e; $custom-light: #f8fda6; $custom-dark: #000000;
JSON
{
"hex": "#f2fc7e",
"rgb": {
"r": 242,
"g": 252,
"b": 126
},
"hsl": {
"h": 64.762,
"s": 95.455,
"l": 74.118
},
"oklch": {
"l": 0.95845,
"c": 0.1501,
"h": 113
},
"luminance": 0.90004
}Semantic roles & 50–950 ramp
primary
#F2FC7E
secondary
#5044DA
accent
#00E612
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580