#F2F97A#F2F97A
#F2F97A is a very light, vivid yellow. Relative luminance 0.880; OKLCH L 95.2% C 0.150 H 111.8°. Best body text is #000000 at 18.61:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F97A |
|---|---|
| RGB | rgb(242, 249, 122) |
| HSL | hsl(63, 91%, 73%) |
| HSV | hsv(63, 51%, 98%) |
| CMYK | cmyk(2.8%, 0%, 51%, 2.4%) |
| CIE-LAB | lab(95.18, -19.21, 59.40) |
| CIE-LCH | lch(95.18, 62.43, 107.92°) |
| OKLab | oklab(95.17% -0.0558 0.1397) |
| OKLCH | oklch(95.17% 0.15 111.8) |
| XYZ | xyz(74.0080, 88.0352, 31.5024) |
| Luminance | 0.8803 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 1.83
Faded Yellow
#FEFF7F
ΔE00 1.99
Butter
#FFFF81
ΔE00 2.17
Pale Yellow
#FFFF84
ΔE00 2.19
Banana (survey)
#FFFF7E
ΔE00 2.21
Light Yellow
#FFFE7A
ΔE00 2.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F97A #817AF9
analogous
#F9C07A #F2F97A #B2F97A
triadic
#F2F97A #7AF2F9 #F97AF2
tetradic
#F2F97A #7AF9C0 #817AF9 #F97AB2
square
#F2F97A #7AF9C0 #817AF9 #F97AB2
split-complementary
#F2F97A #7AB2F9 #C07AF9
monochromatic
#E1EE0B #ECF63F #F2F97A #F8FCB5 #FCFEE2
Accessibility & contrast
On white
1.13
#F2F97A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.61
#F2F97A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F97A
18.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F97A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F97A | 1.00 | 1.13 | 18.61 | 18.61 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF6E
Deuteranopia (green-blind)
#FFF381
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #f2f97a; /* rgb */ color: rgb(242, 249, 122); /* oklch */ color: oklch(95.2% 0.150 111.8);
Tailwind
colors: {
custom: {
50: '#f9fba4',
500: '#f2f97a',
950: '#000000',
},
}SCSS
$custom: #f2f97a; $custom-light: #f9fba4; $custom-dark: #000000;
JSON
{
"hex": "#f2f97a",
"rgb": {
"r": 242,
"g": 249,
"b": 122
},
"hsl": {
"h": 63.307,
"s": 91.367,
"l": 72.745
},
"oklch": {
"l": 0.95174,
"c": 0.15042,
"h": 111.8
},
"luminance": 0.88034
}Semantic roles & 50–950 ramp
primary
#F2F97A
secondary
#4A42D5
accent
#00E60D
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580