#F2FA8E#F2FA8E
#F2FA8E is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.6% C 0.132 H 112.3°. Best body text is #000000 at 18.84:1 contrast (WCAG AA passes).
Color values
| HEX | #F2FA8E |
|---|---|
| RGB | rgb(242, 250, 142) |
| HSL | hsl(64, 92%, 77%) |
| HSV | hsv(64, 43%, 98%) |
| CMYK | cmyk(3.2%, 0%, 43.2%, 2%) |
| CIE-LAB | lab(95.67, -17.87, 50.71) |
| CIE-LCH | lch(95.67, 53.77, 109.41°) |
| OKLab | oklab(95.64% -0.0502 0.1221) |
| OKLCH | oklch(95.64% 0.132 112.3) |
| XYZ | xyz(75.6871, 89.2027, 38.8167) |
| Luminance | 0.8920 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 3.02
Pale Yellow
#FFFF84
ΔE00 3.17
Butter
#FFFF81
ΔE00 3.44
Faded Yellow
#FEFF7F
ΔE00 3.47
Manilla
#FFFA86
ΔE00 3.49
Banana (survey)
#FFFF7E
ΔE00 3.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2FA8E #968EFA
analogous
#FACC8E #F2FA8E #BCFA8E
triadic
#F2FA8E #8EF2FA #FA8EF2
tetradic
#F2FA8E #8EFACC #968EFA #FA8EBC
square
#F2FA8E #8EFACC #968EFA #FA8EBC
split-complementary
#F2FA8E #8EBCFA #CC8EFA
monochromatic
#E5F519 #EBF753 #F2FA8E #F9FDC9 #FCFEE2
Accessibility & contrast
On white
1.11
#F2FA8E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.84
#F2FA8E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2FA8E
18.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2FA8E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2FA8E | 1.00 | 1.11 | 18.84 | 18.84 |
| #FFFFFF | 1.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF185
Deuteranopia (green-blind)
#FFF493
Tritanopia (blue-blind)
#FEEFE0
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #f2fa8e; /* rgb */ color: rgb(242, 250, 142); /* oklch */ color: oklch(95.6% 0.132 112.3);
Tailwind
colors: {
custom: {
50: '#f8fbb1',
500: '#f2fa8e',
950: '#000000',
},
}SCSS
$custom: #f2fa8e; $custom-light: #f8fbb1; $custom-dark: #000000;
JSON
{
"hex": "#f2fa8e",
"rgb": {
"r": 242,
"g": 250,
"b": 142
},
"hsl": {
"h": 64.444,
"s": 91.525,
"l": 76.863
},
"oklch": {
"l": 0.95639,
"c": 0.132,
"h": 112.3
},
"luminance": 0.89201
}Semantic roles & 50–950 ramp
primary
#F2FA8E
secondary
#5D53D9
accent
#00E611
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581