#F2F670#F2F670
#F2F670 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.4% C 0.156 H 110.6°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F670 |
|---|---|
| RGB | rgb(242, 246, 112) |
| HSL | hsl(62, 88%, 70%) |
| HSV | hsv(62, 54%, 96%) |
| CMYK | cmyk(1.6%, 0%, 54.5%, 3.5%) |
| CIE-LAB | lab(94.30, -18.56, 62.83) |
| CIE-LCH | lch(94.30, 65.52, 106.46°) |
| OKLab | oklab(94.44% -0.0549 0.1461) |
| OKLCH | oklch(94.44% 0.156 110.6) |
| XYZ | xyz(72.5001, 85.9603, 28.0989) |
| Luminance | 0.8596 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.06
Custard
#FFFD78
ΔE00 2.14
Light Yellow
#FFFE7A
ΔE00 2.15
Faded Yellow
#FEFF7F
ΔE00 2.18
Butter Yellow
#FFFD74
ΔE00 2.19
Banana (survey)
#FFFF7E
ΔE00 2.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F670 #7470F6
analogous
#F6B770 #F2F670 #AFF670
triadic
#F2F670 #70F2F6 #F670F2
tetradic
#F2F670 #70F6B7 #7470F6 #F670AF
square
#F2F670 #70F6B7 #7470F6 #F670AF
split-complementary
#F2F670 #70AFF6 #B770F6
monochromatic
#D7DE0E #EDF236 #F2F670 #F7FAAA #FCFDE2
Accessibility & contrast
On white
1.15
#F2F670 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.19
#F2F670 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F670
18.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F670 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F670 | 1.00 | 1.15 | 18.19 | 18.19 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC62
Deuteranopia (green-blind)
#FFF177
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #f2f670; /* rgb */ color: rgb(242, 246, 112); /* oklch */ color: oklch(94.4% 0.156 110.6);
Tailwind
colors: {
custom: {
50: '#f9f99d',
500: '#f2f670',
950: '#000000',
},
}SCSS
$custom: #f2f670; $custom-light: #f9f99d; $custom-dark: #000000;
JSON
{
"hex": "#f2f670",
"rgb": {
"r": 242,
"g": 246,
"b": 112
},
"hsl": {
"h": 61.791,
"s": 88.158,
"l": 70.196
},
"oklch": {
"l": 0.94439,
"c": 0.15607,
"h": 110.6
},
"luminance": 0.85959
}Semantic roles & 50–950 ramp
primary
#F2F670
secondary
#3E3AD0
accent
#01E508
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580