Olive
#B1A502
YellowColor Codes
All color formats for development
HEX
#B1A502RGB
rgb(177, 165, 2)HSL
hsl(56, 98%, 35%)OKLCH
oklch(0.71 0.15 104.3)CMYK
cmyk(0%, 7%, 99%, 31%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#9F9502
2#8D8401
3#7C7401
4#6A6301
5#585301
6#474201
7#353201
8#232100
9#121100
Tints
Lighter variations
1#D2C402
2#F2E202
3#FDEE19
4#FDF03A
5#FDF35B
6#FEF57C
7#FEF89D
8#FEFABD
9#FFFDDE
Tones
Muted variations
1#A89D0B
2#9F9613
3#968E1C
4#8E8725
5#857F2E
6#7C7836
7#73703F
8#6B6848
9#626151
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | FFFE #FFFEF0 | BackgroundsSubtle highlightsCard backgrounds |
| 100 | FFFC #FFFCDC | Light backgroundsTable row hoverSkeleton loading |
| 200 | FEFA #FEFABD | Secondary backgroundsInput backgroundsDividers |
| 300 | FEF6 #FEF68B | BordersInactive statesPlaceholder text |
| 400 | FDF2 #FDF24E | Disabled statesSecondary iconsMuted text |
| 500 | FDEE #FDEE1C | Primary brand colorCTAsActive elementsLinks |
| 600 | DECF #DECF02 | Hover statesFocus ringsPrimary buttons hover |
| 700 | B1A5 #B1A502 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 7E76 #7E7601 | Text on light backgroundsHeadingsStrong borders |
| 900 | 514B #514B01 | Primary textHigh emphasis contentDark headings |
| 950 | 322F #322F01 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--olive-50: #FFFEF0;
--olive-100: #FFFCDC;
--olive-200: #FEFABD;
--olive-300: #FEF68B;
--olive-400: #FDF24E;
--olive-500: #FDEE1C;
--olive-600: #DECF02;
--olive-700: #B1A502;
--olive-800: #7E7601;
--olive-900: #514B01;
--olive-950: #322F01;
}