Black
#312A02
YellowColor Codes
All color formats for development
HEX
#312A02RGB
rgb(49, 42, 2)HSL
hsl(51, 92%, 10%)OKLCH
oklch(0.284 0.057 99)CMYK
cmyk(0%, 14%, 96%, 81%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#2C2602
2#272202
3#221D01
4#1D1901
5#181501
6#141101
7#0F0D01
8#0A0800
9#050400
Tints
Lighter variations
1#5D5004
2#897506
3#B59B08
4#E1C109
5#F6D623
6#F8DE4F
7#F9E67B
8#FBEFA7
9#FDF7D3
Tones
Muted variations
1#2F2804
2#2C2707
3#2A2509
4#28230B
5#25220E
6#232010
7#211E12
8#1E1D15
9#1C1B17
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | FEFC #FEFCF0 | BackgroundsSubtle highlightsCard backgrounds |
| 100 | FEF9 #FEF9DD | Light backgroundsTable row hoverSkeleton loading |
| 200 | FCF3 #FCF3BF | Secondary backgroundsInput backgroundsDividers |
| 300 | FAEA #FAEA8E | BordersInactive statesPlaceholder text |
| 400 | F8DF #F8DF54 | Disabled statesSecondary iconsMuted text |
| 500 | F6D6 #F6D623 | Primary brand colorCTAsActive elementsLinks |
| 600 | D7B8 #D7B809 | Hover statesFocus ringsPrimary buttons hover |
| 700 | AB93 #AB9307 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 7A69 #7A6905 | Text on light backgroundsHeadingsStrong borders |
| 900 | 4E43 #4E4303 | Primary textHigh emphasis contentDark headings |
| 950 | 312A #312A02 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--black-50: #FEFCF0;
--black-100: #FEF9DD;
--black-200: #FCF3BF;
--black-300: #FAEA8E;
--black-400: #F8DF54;
--black-500: #F6D623;
--black-600: #D7B809;
--black-700: #AB9307;
--black-800: #7A6905;
--black-900: #4E4303;
--black-950: #312A02;
}