Black
#312D02
YellowColor Codes
All color formats for development
HEX
#312D02RGB
rgb(49, 45, 2)HSL
hsl(55, 92%, 10%)OKLCH
oklch(0.292 0.06 104)CMYK
cmyk(0%, 8%, 96%, 81%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#2C2902
2#272402
3#222001
4#1D1B01
5#181701
6#141201
7#0F0E01
8#0A0900
9#050500
Tints
Lighter variations
1#5D5604
2#897E06
3#B5A708
4#E1CF09
5#F6E423
6#F8EA4F
7#F9EF7B
8#FBF4A7
9#FDFAD3
Tones
Muted variations
1#2F2B04
2#2C2907
3#2A2709
4#28250B
5#25230E
6#232110
7#211F12
8#1E1D15
9#1C1B17
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | FEFD #FEFDF0 | BackgroundsSubtle highlightsCard backgrounds |
| 100 | FEFB #FEFBDD | Light backgroundsTable row hoverSkeleton loading |
| 200 | FCF7 #FCF7BF | Secondary backgroundsInput backgroundsDividers |
| 300 | FAF1 #FAF18E | BordersInactive statesPlaceholder text |
| 400 | F8EA #F8EA54 | Disabled statesSecondary iconsMuted text |
| 500 | F6E4 #F6E423 | Primary brand colorCTAsActive elementsLinks |
| 600 | D7C6 #D7C609 | Hover statesFocus ringsPrimary buttons hover |
| 700 | AB9E #AB9E07 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 7A71 #7A7105 | Text on light backgroundsHeadingsStrong borders |
| 900 | 4E48 #4E4803 | Primary textHigh emphasis contentDark headings |
| 950 | 312D #312D02 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--black-50: #FEFDF0;
--black-100: #FEFBDD;
--black-200: #FCF7BF;
--black-300: #FAF18E;
--black-400: #F8EA54;
--black-500: #F6E423;
--black-600: #D7C609;
--black-700: #AB9E07;
--black-800: #7A7105;
--black-900: #4E4803;
--black-950: #312D02;
}