#F2F673#F2F673
#F2F673 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.5% C 0.153 H 110.6°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F673 |
|---|---|
| RGB | rgb(242, 246, 115) |
| HSL | hsl(62, 88%, 71%) |
| HSV | hsv(62, 53%, 96%) |
| CMYK | cmyk(1.6%, 0%, 53.3%, 3.5%) |
| CIE-LAB | lab(94.32, -18.33, 61.54) |
| CIE-LCH | lch(94.32, 64.22, 106.59°) |
| OKLab | oklab(94.47% -0.054 0.1436) |
| OKLCH | oklch(94.47% 0.153 110.6) |
| XYZ | xyz(72.6700, 86.0282, 28.9933) |
| Luminance | 0.8603 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 1.88
Faded Yellow
#FEFF7F
ΔE00 2.10
Light Yellow
#FFFE7A
ΔE00 2.15
Custard
#FFFD78
ΔE00 2.17
Banana (survey)
#FFFF7E
ΔE00 2.19
Butter
#FFFF81
ΔE00 2.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F673 #7773F6
analogous
#F6B873 #F2F673 #B0F673
triadic
#F2F673 #73F2F6 #F673F2
tetradic
#F2F673 #73F6B8 #7773F6 #F673B0
square
#F2F673 #73F6B8 #7773F6 #F673B0
split-complementary
#F2F673 #73B0F6 #B873F6
monochromatic
#DAE00E #EDF239 #F2F673 #F7FAAD #FCFDE2
Accessibility & contrast
On white
1.15
#F2F673 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.21
#F2F673 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F673
18.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F673 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F673 | 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)
#FFED66
Deuteranopia (green-blind)
#FFF17A
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #f2f673; /* rgb */ color: rgb(242, 246, 115); /* oklch */ color: oklch(94.5% 0.153 110.6);
Tailwind
colors: {
custom: {
50: '#f9f99f',
500: '#f2f673',
950: '#000000',
},
}SCSS
$custom: #f2f673; $custom-light: #f9f99f; $custom-dark: #000000;
JSON
{
"hex": "#f2f673",
"rgb": {
"r": 242,
"g": 246,
"b": 115
},
"hsl": {
"h": 61.832,
"s": 87.919,
"l": 70.784
},
"oklch": {
"l": 0.94472,
"c": 0.15344,
"h": 110.6
},
"luminance": 0.86027
}Semantic roles & 50–950 ramp
primary
#F2F673
secondary
#413DD1
accent
#01E408
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580