Yellow
#F2F226
YellowColor Codes
All color formats for development
HEX
#F2F226RGB
rgb(242, 242, 38)HSL
hsl(60, 89%, 55%)OKLCH
oklch(0.931 0.196 109.7)CMYK
cmyk(0%, 0%, 84%, 5%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#EFEF0E
2#D4D40C
3#BABA0B
4#9F9F09
5#858508
6#6A6A06
7#505005
8#353503
9#1B1B02
Tints
Lighter variations
1#F4F43C
2#F5F551
3#F6F667
4#F7F77D
5#F9F993
6#FAFAA8
7#FBFBBE
8#FCFCD4
9#FEFEE9
Tones
Muted variations
1#E8E830
2#DEDE3B
3#D4D445
4#CACA4F
5#BFBF59
6#B5B563
7#ABAB6E
8#A1A178
9#969682
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | FEFE #FEFEF1 | BackgroundsSubtle highlightsCard backgrounds |
| 100 | FDFD #FDFDDD | Light backgroundsTable row hoverSkeleton loading |
| 200 | FBFB #FBFBC0 | Secondary backgroundsInput backgroundsDividers |
| 300 | F9F9 #F9F990 | BordersInactive statesPlaceholder text |
| 400 | F5F5 #F5F556 | Disabled statesSecondary iconsMuted text |
| 500 | F2F2 #F2F226 | Primary brand colorCTAsActive elementsLinks |
| 600 | D4D4 #D4D40C | Hover statesFocus ringsPrimary buttons hover |
| 700 | A9A9 #A9A90A | Active/pressed statesDark mode accentsSecondary text |
| 800 | 7878 #787807 | Text on light backgroundsHeadingsStrong borders |
| 900 | 4D4D #4D4D04 | Primary textHigh emphasis contentDark headings |
| 950 | 3030 #303003 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--yellow-50: #FEFEF1;
--yellow-100: #FDFDDD;
--yellow-200: #FBFBC0;
--yellow-300: #F9F990;
--yellow-400: #F5F556;
--yellow-500: #F2F226;
--yellow-600: #D4D40C;
--yellow-700: #A9A90A;
--yellow-800: #787807;
--yellow-900: #4D4D04;
--yellow-950: #303003;
}