I use Adobe Illustrator as an example.
Create an RGB color R 166, G 255, B 51 in an sRGB document and add the swatch to a CC Library.
Change your RGB color settings to Wide Gamut RGB and create a new document.
Use the swatch from the CC library, the result is a totally different color.
The color in the CC library does not have a profile attached, only the numbers are used and no conversion or warning takes place.