#F2F288#F2F288
#F2F288 is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 93.9% C 0.129 H 108.6°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F288 |
|---|---|
| RGB | rgb(242, 242, 136) |
| HSL | hsl(60, 80%, 74%) |
| HSV | hsv(60, 44%, 95%) |
| CMYK | cmyk(0%, 0%, 43.8%, 5.1%) |
| CIE-LAB | lab(93.52, -14.56, 50.92) |
| CIE-LCH | lch(93.52, 52.96, 105.96°) |
| OKLab | oklab(93.91% -0.0412 0.1222) |
| OKLCH | oklch(93.91% 0.129 108.6) |
| XYZ | xyz(72.8154, 84.1607, 35.6966) |
| Luminance | 0.8416 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Manilla
#FFFA86
ΔE00 2.58
Yellowish Tan
#FCFC81
ΔE00 2.89
Straw
#FCF679
ΔE00 3.13
Pale Yellow
#FFFF84
ΔE00 3.31
Buff
#FEF69E
ΔE00 3.52
Butter
#FFFF81
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F288 #8888F2
analogous
#F2BD88 #F2F288 #BDF288
triadic
#F2F288 #88F2F2 #F288F2
tetradic
#F2F288 #88F2BD #8888F2 #F288BD
square
#F2F288 #88F2BD #8888F2 #F288BD
split-complementary
#F2F288 #88BDF2 #BD88F2
monochromatic
#E6E61A #ECEC51 #F2F288 #F8F8BF #FCFCE3
Accessibility & contrast
On white
1.18
#F2F288 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.83
#F2F288 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F288
17.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F288 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F288 | 1.00 | 1.18 | 17.83 | 17.83 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA7F
Deuteranopia (green-blind)
#FFEE8D
Tritanopia (blue-blind)
#FFE6D9
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #f2f288; /* rgb */ color: rgb(242, 242, 136); /* oklch */ color: oklch(93.9% 0.129 108.6);
Tailwind
colors: {
custom: {
50: '#f8f6ac',
500: '#f2f288',
950: '#000000',
},
}SCSS
$custom: #f2f288; $custom-light: #f8f6ac; $custom-dark: #000000;
JSON
{
"hex": "#f2f288",
"rgb": {
"r": 242,
"g": 242,
"b": 136
},
"hsl": {
"h": 60,
"s": 80.303,
"l": 74.118
},
"oklch": {
"l": 0.93906,
"c": 0.12895,
"h": 108.6
},
"luminance": 0.84159
}Semantic roles & 50–950 ramp
primary
#F2F288
secondary
#5050CE
accent
#09DD09
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581