I need hex color code for a yellow that indicates a warning. This will be the text color…
- User
I need hex color code for a yellow that indicates a warning. This will be the text color and it needs to be readable on a light grey background
Assistant
For a warning yellow that is readable on a light grey background, you want a shade that has enough contrast but isn't too harsh. A good option is:
#FFD700
This is a standard "gold" or "warning yellow" that is commonly used for alerts and warnings. It has enough contrast against light grey backgrounds while remaining readable and not overly bright.
Here’s a quick example of how it looks on a light grey background (
#F0F0F0):Background: #F0F0F0 Text: #FFD700If you need a slightly darker yellow for better contrast, consider:
#FFCC00
This is a bit more vibrant and ensures excellent readability on light grey.
Let me know if you'd like further adjustments!
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.