#F2F675#F2F675
#F2F675 is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.5% C 0.152 H 110.6°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F675 |
|---|---|
| RGB | rgb(242, 246, 117) |
| HSL | hsl(62, 88%, 71%) |
| HSV | hsv(62, 52%, 96%) |
| CMYK | cmyk(1.6%, 0%, 52.4%, 3.5%) |
| CIE-LAB | lab(94.34, -18.18, 60.68) |
| CIE-LCH | lch(94.34, 63.34, 106.67°) |
| OKLab | oklab(94.49% -0.0533 0.142) |
| OKLCH | oklch(94.49% 0.152 110.6) |
| XYZ | xyz(72.7863, 86.0748, 29.6060) |
| Luminance | 0.8607 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 1.78
Faded Yellow
#FEFF7F
ΔE00 2.07
Banana (survey)
#FFFF7E
ΔE00 2.18
Light Yellow
#FFFE7A
ΔE00 2.18
Butter
#FFFF81
ΔE00 2.21
Custard
#FFFD78
ΔE00 2.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F675 #7975F6
analogous
#F6B975 #F2F675 #B1F675
triadic
#F2F675 #75F2F6 #F675F2
tetradic
#F2F675 #75F6B9 #7975F6 #F675B1
square
#F2F675 #75F6B9 #7975F6 #F675B1
split-complementary
#F2F675 #75B1F6 #B975F6
monochromatic
#DBE20F #EDF23C #F2F675 #F7FAAE #FCFDE2
Accessibility & contrast
On white
1.15
#F2F675 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.21
#F2F675 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F675
18.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F675 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F675 | 1.00 | 1.15 | 18.21 | 18.21 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED68
Deuteranopia (green-blind)
#FFF17C
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #f2f675; /* rgb */ color: rgb(242, 246, 117); /* oklch */ color: oklch(94.5% 0.152 110.6);
Tailwind
colors: {
custom: {
50: '#f9f9a0',
500: '#f2f675',
950: '#000000',
},
}SCSS
$custom: #f2f675; $custom-light: #f9f9a0; $custom-dark: #000000;
JSON
{
"hex": "#f2f675",
"rgb": {
"r": 242,
"g": 246,
"b": 117
},
"hsl": {
"h": 61.86,
"s": 87.755,
"l": 71.176
},
"oklch": {
"l": 0.94494,
"c": 0.15166,
"h": 110.6
},
"luminance": 0.86073
}Semantic roles & 50–950 ramp
primary
#F2F675
secondary
#433ED1
accent
#01E408
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580