#F2F882#F2F882
#F2F882 is a very light, vivid yellow. Relative luminance 0.876; OKLCH L 95.1% C 0.142 H 111.4°. Best body text is #000000 at 18.52:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F882 |
|---|---|
| RGB | rgb(242, 248, 130) |
| HSL | hsl(63, 89%, 74%) |
| HSV | hsv(63, 48%, 97%) |
| CMYK | cmyk(2.4%, 0%, 47.6%, 2.7%) |
| CIE-LAB | lab(95.00, -18.04, 55.54) |
| CIE-LCH | lch(95.00, 58.40, 107.99°) |
| OKLab | oklab(95.06% -0.0517 0.132) |
| OKLCH | oklch(95.06% 0.142 111.4) |
| XYZ | xyz(74.2160, 87.6252, 34.1185) |
| Luminance | 0.8762 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 1.91
Pale Yellow
#FFFF84
ΔE00 2.28
Faded Yellow
#FEFF7F
ΔE00 2.38
Butter
#FFFF81
ΔE00 2.42
Banana (survey)
#FFFF7E
ΔE00 2.60
Manilla
#FFFA86
ΔE00 2.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F882 #8882F8
analogous
#F8C382 #F2F882 #B7F882
triadic
#F2F882 #82F2F8 #F882F2
tetradic
#F2F882 #82F8C3 #8882F8 #F882B7
square
#F2F882 #82F8C3 #8882F8 #F882B7
split-complementary
#F2F882 #82B7F8 #C382F8
monochromatic
#E6F20E #ECF548 #F2F882 #F8FBBC #FCFDE2
Accessibility & contrast
On white
1.13
#F2F882 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.52
#F2F882 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F882
18.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F882 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F882 | 1.00 | 1.13 | 18.52 | 18.52 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF78
Deuteranopia (green-blind)
#FFF288
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #f2f882; /* rgb */ color: rgb(242, 248, 130); /* oklch */ color: oklch(95.1% 0.142 111.4);
Tailwind
colors: {
custom: {
50: '#f8faa9',
500: '#f2f882',
950: '#000000',
},
}SCSS
$custom: #f2f882; $custom-light: #f8faa9; $custom-dark: #000000;
JSON
{
"hex": "#f2f882",
"rgb": {
"r": 242,
"g": 248,
"b": 130
},
"hsl": {
"h": 63.051,
"s": 89.394,
"l": 74.118
},
"oklch": {
"l": 0.95064,
"c": 0.14171,
"h": 111.4
},
"luminance": 0.87624
}Semantic roles & 50–950 ramp
primary
#F2F882
secondary
#5049D5
accent
#00E60C
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581