#F2F875#F2F875
#F2F875 is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 94.9% C 0.154 H 111.4°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F875 |
|---|---|
| RGB | rgb(242, 248, 117) |
| HSL | hsl(63, 90%, 72%) |
| HSV | hsv(63, 53%, 97%) |
| CMYK | cmyk(2.4%, 0%, 52.8%, 2.7%) |
| CIE-LAB | lab(94.86, -19.14, 61.28) |
| CIE-LCH | lch(94.86, 64.20, 107.35°) |
| OKLab | oklab(94.91% -0.0561 0.1433) |
| OKLCH | oklch(94.91% 0.154 111.4) |
| XYZ | xyz(73.3979, 87.2979, 29.8099) |
| Luminance | 0.8730 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 1.88
Faded Yellow
#FEFF7F
ΔE00 1.98
Banana (survey)
#FFFF7E
ΔE00 2.13
Butter
#FFFF81
ΔE00 2.18
Light Yellow
#FFFE7A
ΔE00 2.18
Custard
#FFFD78
ΔE00 2.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F875 #7B75F8
analogous
#F8BD75 #F2F875 #B1F875
triadic
#F2F875 #75F2F8 #F875F2
tetradic
#F2F875 #75F8BD #7B75F8 #F875B1
square
#F2F875 #75F8BD #7B75F8 #F875B1
split-complementary
#F2F875 #75B1F8 #BD75F8
monochromatic
#DDE70C #EDF53B #F2F875 #F7FBAF #FCFEE2
Accessibility & contrast
On white
1.14
#F2F875 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.46
#F2F875 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F875
18.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F875 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F875 | 1.00 | 1.14 | 18.46 | 18.46 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEE68
Deuteranopia (green-blind)
#FFF27C
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #f2f875; /* rgb */ color: rgb(242, 248, 117); /* oklch */ color: oklch(94.9% 0.154 111.4);
Tailwind
colors: {
custom: {
50: '#f9faa0',
500: '#f2f875',
950: '#000000',
},
}SCSS
$custom: #f2f875; $custom-light: #f9faa0; $custom-dark: #000000;
JSON
{
"hex": "#f2f875",
"rgb": {
"r": 242,
"g": 248,
"b": 117
},
"hsl": {
"h": 62.748,
"s": 90.345,
"l": 71.569
},
"oklch": {
"l": 0.94909,
"c": 0.15384,
"h": 111.4
},
"luminance": 0.87296
}Semantic roles & 50–950 ramp
primary
#F2F875
secondary
#453ED3
accent
#00E60B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580