#F2F996#F2F996
#F2F996 is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.5% C 0.122 H 112.0°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F996 |
|---|---|
| RGB | rgb(242, 249, 150) |
| HSL | hsl(64, 89%, 78%) |
| HSV | hsv(64, 40%, 98%) |
| CMYK | cmyk(2.8%, 0%, 39.8%, 2.4%) |
| CIE-LAB | lab(95.51, -16.57, 46.68) |
| CIE-LCH | lch(95.51, 49.53, 109.54°) |
| OKLab | oklab(95.55% -0.0458 0.1135) |
| OKLCH | oklch(95.55% 0.122 112) |
| XYZ | xyz(75.9995, 88.8318, 41.9909) |
| Luminance | 0.8883 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 3.81
Yellowish Tan
#FCFC81
ΔE00 3.96
Buff
#FEF69E
ΔE00 3.98
Manilla
#FFFA86
ΔE00 4.05
Pale Yellow
#FFFF84
ΔE00 4.09
Parchment
#FEFCAF
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F996 #9D96F9
analogous
#F9CE96 #F2F996 #C0F996
triadic
#F2F996 #96F2F9 #F996F2
tetradic
#F2F996 #96F9CE #9D96F9 #F996C0
square
#F2F996 #96F9CE #9D96F9 #F996C0
split-complementary
#F2F996 #96C0F9 #CE96F9
monochromatic
#E4F222 #EBF65C #F2F996 #F9FCD0 #FBFDE2
Accessibility & contrast
On white
1.12
#F2F996 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.77
#F2F996 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F996
18.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F996 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F996 | 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)
#FFF18E
Deuteranopia (green-blind)
#FFF39B
Tritanopia (blue-blind)
#FEEEE1
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #f2f996; /* rgb */ color: rgb(242, 249, 150); /* oklch */ color: oklch(95.5% 0.122 112.0);
Tailwind
colors: {
custom: {
50: '#f8fbb6',
500: '#f2f996',
950: '#000000',
},
}SCSS
$custom: #f2f996; $custom-light: #f8fbb6; $custom-dark: #000000;
JSON
{
"hex": "#f2f996",
"rgb": {
"r": 242,
"g": 249,
"b": 150
},
"hsl": {
"h": 64.242,
"s": 89.189,
"l": 78.235
},
"oklch": {
"l": 0.95549,
"c": 0.12239,
"h": 112
},
"luminance": 0.88831
}Semantic roles & 50–950 ramp
primary
#F2F996
secondary
#635AD9
accent
#00E610
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581