#F2F87E#F2F87E
#F2F87E is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 95.0% C 0.146 H 111.4°. Best body text is #000000 at 18.50:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F87E |
|---|---|
| RGB | rgb(242, 248, 126) |
| HSL | hsl(63, 90%, 73%) |
| HSV | hsv(63, 49%, 97%) |
| CMYK | cmyk(2.4%, 0%, 49.2%, 2.7%) |
| CIE-LAB | lab(94.96, -18.39, 57.33) |
| CIE-LCH | lch(94.96, 60.21, 107.79°) |
| OKLab | oklab(95.01% -0.0531 0.1355) |
| OKLCH | oklch(95.01% 0.146 111.4) |
| XYZ | xyz(73.9527, 87.5199, 32.7319) |
| Luminance | 0.8752 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 1.75
Faded Yellow
#FEFF7F
ΔE00 2.13
Pale Yellow
#FFFF84
ΔE00 2.16
Butter
#FFFF81
ΔE00 2.23
Banana (survey)
#FFFF7E
ΔE00 2.35
Light Yellow
#FFFE7A
ΔE00 2.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F87E #847EF8
analogous
#F8C17E #F2F87E #B5F87E
triadic
#F2F87E #7EF2F8 #F87EF2
tetradic
#F2F87E #7EF8C1 #847EF8 #F87EB5
square
#F2F87E #7EF8C1 #847EF8 #F87EB5
split-complementary
#F2F87E #7EB5F8 #C17EF8
monochromatic
#E4EF0D #ECF544 #F2F87E #F8FBB8 #FCFDE2
Accessibility & contrast
On white
1.13
#F2F87E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.50
#F2F87E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F87E
18.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F87E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F87E | 1.00 | 1.13 | 18.50 | 18.50 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF73
Deuteranopia (green-blind)
#FFF284
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #f2f87e; /* rgb */ color: rgb(242, 248, 126); /* oklch */ color: oklch(95.0% 0.146 111.4);
Tailwind
colors: {
custom: {
50: '#f8faa6',
500: '#f2f87e',
950: '#000000',
},
}SCSS
$custom: #f2f87e; $custom-light: #f8faa6; $custom-dark: #000000;
JSON
{
"hex": "#f2f87e",
"rgb": {
"r": 242,
"g": 248,
"b": 126
},
"hsl": {
"h": 62.951,
"s": 89.706,
"l": 73.333
},
"oklch": {
"l": 0.95014,
"c": 0.14555,
"h": 111.4
},
"luminance": 0.87518
}Semantic roles & 50–950 ramp
primary
#F2F87E
secondary
#4D46D5
accent
#00E60B
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171710
muted
#858580