#F2F97E#F2F97E
#F2F97E is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.2% C 0.147 H 111.8°. Best body text is #000000 at 18.63:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F97E |
|---|---|
| RGB | rgb(242, 249, 126) |
| HSL | hsl(63, 91%, 74%) |
| HSV | hsv(63, 49%, 98%) |
| CMYK | cmyk(2.8%, 0%, 49.4%, 2.4%) |
| CIE-LAB | lab(95.22, -18.87, 57.64) |
| CIE-LCH | lch(95.22, 60.65, 108.13°) |
| OKLab | oklab(95.22% -0.0544 0.1362) |
| OKLCH | oklch(95.22% 0.147 111.8) |
| XYZ | xyz(74.2610, 88.1364, 32.8347) |
| Luminance | 0.8813 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 1.84
Faded Yellow
#FEFF7F
ΔE00 2.12
Pale Yellow
#FFFF84
ΔE00 2.18
Butter
#FFFF81
ΔE00 2.24
Banana (survey)
#FFFF7E
ΔE00 2.36
Light Yellow
#FFFE7A
ΔE00 2.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F97E #857EF9
analogous
#F9C27E #F2F97E #B4F97E
triadic
#F2F97E #7EF2F9 #F97EF2
tetradic
#F2F97E #7EF9C2 #857EF9 #F97EB4
square
#F2F97E #7EF9C2 #857EF9 #F97EB4
split-complementary
#F2F97E #7EB4F9 #C27EF9
monochromatic
#E4F10B #ECF644 #F2F97E #F8FCB8 #FCFEE2
Accessibility & contrast
On white
1.13
#F2F97E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.63
#F2F97E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F97E
18.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F97E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F97E | 1.00 | 1.13 | 18.63 | 18.63 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF73
Deuteranopia (green-blind)
#FFF384
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #f2f97e; /* rgb */ color: rgb(242, 249, 126); /* oklch */ color: oklch(95.2% 0.147 111.8);
Tailwind
colors: {
custom: {
50: '#f8fba6',
500: '#f2f97e',
950: '#000000',
},
}SCSS
$custom: #f2f97e; $custom-light: #f8fba6; $custom-dark: #000000;
JSON
{
"hex": "#f2f97e",
"rgb": {
"r": 242,
"g": 249,
"b": 126
},
"hsl": {
"h": 63.415,
"s": 91.111,
"l": 73.529
},
"oklch": {
"l": 0.95222,
"c": 0.14668,
"h": 111.8
},
"luminance": 0.88135
}Semantic roles & 50–950 ramp
primary
#F2F97E
secondary
#4E45D6
accent
#00E60D
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171710
muted
#858580