#F2FA4C#F2FA4C
#F2FA4C is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.0% C 0.187 H 112.1°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).
Color values
| HEX | #F2FA4C |
|---|---|
| RGB | rgb(242, 250, 76) |
| HSL | hsl(63, 95%, 64%) |
| HSV | hsv(63, 70%, 98%) |
| CMYK | cmyk(3.2%, 0%, 69.6%, 2%) |
| CIE-LAB | lab(95.06, -22.70, 77.84) |
| CIE-LCH | lch(95.06, 81.08, 106.26°) |
| OKLab | oklab(94.97% -0.0701 0.1729) |
| OKLCH | oklch(94.97% 0.187 112.1) |
| XYZ | xyz(72.1103, 87.7720, 19.9792) |
| Luminance | 0.8777 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Banana Yellow
#FAFE4B
ΔE00 1.38
Lemon (survey)
#FDFF52
ΔE00 1.75
Off Yellow
#F1F33F
ΔE00 1.92
Canary
#FDFF63
ΔE00 2.15
Lemon Yellow
#FDFF38
ΔE00 2.60
Canary Yellow
#FFFE40
ΔE00 2.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2FA4C #544CFA
analogous
#FAAB4C #F2FA4C #9BFA4C
triadic
#F2FA4C #4CF2FA #FA4CF2
tetradic
#F2FA4C #4CFAAB #544CFA #FA4C9B
square
#F2FA4C #4CFAAB #544CFA #FA4C9B
split-complementary
#F2FA4C #4C9BFA #AB4CFA
monochromatic
#BDC606 #EEF810 #F2FA4C #F6FC88 #FBFDC3
Accessibility & contrast
On white
1.13
#F2FA4C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.55
#F2FA4C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2FA4C
18.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2FA4C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2FA4C | 1.00 | 1.13 | 18.55 | 18.55 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF2D
Deuteranopia (green-blind)
#FFF359
Tritanopia (blue-blind)
#FFEBD8
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #f2fa4c; /* rgb */ color: rgb(242, 250, 76); /* oklch */ color: oklch(95.0% 0.187 112.1);
Tailwind
colors: {
custom: {
50: '#fafb89',
500: '#f2fa4c',
950: '#000000',
},
}SCSS
$custom: #f2fa4c; $custom-light: #fafb89; $custom-dark: #000000;
JSON
{
"hex": "#f2fa4c",
"rgb": {
"r": 242,
"g": 250,
"b": 76
},
"hsl": {
"h": 62.759,
"s": 94.565,
"l": 63.922
},
"oklch": {
"l": 0.94966,
"c": 0.18658,
"h": 112.1
},
"luminance": 0.8777
}Semantic roles & 50–950 ramp
primary
#F2FA4C
secondary
#2F28C3
accent
#00E60B
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170C
muted
#86857F