#F2F997#F2F997
#F2F997 is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.6% C 0.121 H 112.0°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F997 |
|---|---|
| RGB | rgb(242, 249, 151) |
| HSL | hsl(64, 89%, 78%) |
| HSV | hsv(64, 39%, 98%) |
| CMYK | cmyk(2.8%, 0%, 39.4%, 2.4%) |
| CIE-LAB | lab(95.52, -16.46, 46.21) |
| CIE-LCH | lch(95.52, 49.06, 109.60°) |
| OKLab | oklab(95.56% -0.0454 0.1125) |
| OKLCH | oklch(95.56% 0.121 112) |
| XYZ | xyz(76.0804, 88.8641, 42.4168) |
| Luminance | 0.8886 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 3.68
Buff
#FEF69E
ΔE00 3.94
Parchment
#FEFCAF
ΔE00 4.07
Yellowish Tan
#FCFC81
ΔE00 4.10
Manilla
#FFFA86
ΔE00 4.16
Pale Yellow
#FFFF84
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F997 #9E97F9
analogous
#F9CF97 #F2F997 #C1F997
triadic
#F2F997 #97F2F9 #F997F2
tetradic
#F2F997 #97F9CF #9E97F9 #F997C1
square
#F2F997 #97F9CF #9E97F9 #F997C1
split-complementary
#F2F997 #97C1F9 #CF97F9
monochromatic
#E4F223 #EBF65D #F2F997 #F9FCD1 #FBFDE2
Accessibility & contrast
On white
1.12
#F2F997 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.77
#F2F997 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F997
18.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F997 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F997 | 1.00 | 1.12 | 18.77 | 18.77 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF18F
Deuteranopia (green-blind)
#FFF39B
Tritanopia (blue-blind)
#FEEEE1
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #f2f997; /* rgb */ color: rgb(242, 249, 151); /* oklch */ color: oklch(95.6% 0.121 112.0);
Tailwind
colors: {
custom: {
50: '#f8fbb7',
500: '#f2f997',
950: '#000000',
},
}SCSS
$custom: #f2f997; $custom-light: #f8fbb7; $custom-dark: #000000;
JSON
{
"hex": "#f2f997",
"rgb": {
"r": 242,
"g": 249,
"b": 151
},
"hsl": {
"h": 64.286,
"s": 89.091,
"l": 78.431
},
"oklch": {
"l": 0.95564,
"c": 0.12131,
"h": 112
},
"luminance": 0.88863
}Semantic roles & 50–950 ramp
primary
#F2F997
secondary
#645BD9
accent
#00E610
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581