#F2F97B#F2F97B
#F2F97B is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.2% C 0.149 H 111.8°. Best body text is #000000 at 18.61:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F97B |
|---|---|
| RGB | rgb(242, 249, 123) |
| HSL | hsl(63, 91%, 73%) |
| HSV | hsv(63, 51%, 98%) |
| CMYK | cmyk(2.8%, 0%, 50.6%, 2.4%) |
| CIE-LAB | lab(95.19, -19.13, 58.96) |
| CIE-LCH | lch(95.19, 61.99, 107.98°) |
| OKLab | oklab(95.19% -0.0555 0.1388) |
| OKLCH | oklch(95.19% 0.149 111.8) |
| XYZ | xyz(74.0703, 88.0601, 31.8304) |
| Luminance | 0.8806 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 1.82
Faded Yellow
#FEFF7F
ΔE00 2.02
Butter
#FFFF81
ΔE00 2.18
Pale Yellow
#FFFF84
ΔE00 2.18
Banana (survey)
#FFFF7E
ΔE00 2.23
Light Yellow
#FFFE7A
ΔE00 2.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F97B #827BF9
analogous
#F9C17B #F2F97B #B3F97B
triadic
#F2F97B #7BF2F9 #F97BF2
tetradic
#F2F97B #7BF9C1 #827BF9 #F97BB3
square
#F2F97B #7BF9C1 #827BF9 #F97BB3
split-complementary
#F2F97B #7BB3F9 #C17BF9
monochromatic
#E2EF0B #ECF640 #F2F97B #F8FCB6 #FCFEE2
Accessibility & contrast
On white
1.13
#F2F97B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.61
#F2F97B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F97B
18.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F97B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F97B | 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)
#FFEF6F
Deuteranopia (green-blind)
#FFF382
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #f2f97b; /* rgb */ color: rgb(242, 249, 123); /* oklch */ color: oklch(95.2% 0.149 111.8);
Tailwind
colors: {
custom: {
50: '#f8fba4',
500: '#f2f97b',
950: '#000000',
},
}SCSS
$custom: #f2f97b; $custom-light: #f8fba4; $custom-dark: #000000;
JSON
{
"hex": "#f2f97b",
"rgb": {
"r": 242,
"g": 249,
"b": 123
},
"hsl": {
"h": 63.333,
"s": 91.304,
"l": 72.941
},
"oklch": {
"l": 0.95186,
"c": 0.14949,
"h": 111.8
},
"luminance": 0.88059
}Semantic roles & 50–950 ramp
primary
#F2F97B
secondary
#4B43D6
accent
#00E60D
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580