Yellow
#9C8B28
#9C8B28 is a yellow with medium intensity, at step 500 of its 50–950 scale. Dark text on it has a contrast of 5.5:1. On white it reaches only 3.4:1, so use a darker shade for text.
#9C8B28 shades and tints
Eleven steps from 50 to 950 with #9C8B28 kept exactly at step 500. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 FFF8D1
- 100 F9EDA9
- 200 E8DB90
- 300 D0C16D
- 400 B5A449
- 500 9C8B28
- 600 7D6D00
- 700 625500
- 800 4A4000
- 900 332B00
- 950 1D1800
Tailwind CSS v4 theme
@theme { --color-yellow-50: #fff8d1; --color-yellow-100: #f9eda9; --color-yellow-200: #e8db90; --color-yellow-300: #d0c16d; --color-yellow-400: #b5a449; --color-yellow-500: #9c8b28; --color-yellow-600: #7d6d00; --color-yellow-700: #625500; --color-yellow-800: #4a4000; --color-yellow-900: #332b00; --color-yellow-950: #1d1800;}Is #9C8B28 readable?
Contrast for text on #9C8B28 and for #9C8B28 used as text. WCAG 2.2 asks for 4.5:1 for body text and 3:1 for large text; APCA Lc rates how comfortable the text is to read.
- AaThe quick brown foxCheck in contrast tool
White text on it
Large · 3.4APCA Lc 67 · Content text 16px and up
- AaThe quick brown foxCheck in contrast tool
Dark text on it
AA · 5.5APCA Lc 42 · Placeholders and disabled text
- AaThe quick brown foxClosest readable: #877602 · 4.5:1 Check in contrast tool
As text on white
Large · 3.4APCA Lc 62 · Content text 16px and up
- AaThe quick brown foxCheck in contrast tool
As text on a dark background
AA · 5.5APCA Lc 40 · Placeholders and disabled text
Color palettes with #9C8B28
Six palettes built around #9C8B28, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#9C8B28 · #8FC45A · #E78700 · #A2EBCA · #343329
- Complementary#9C8B28 · #8B96E0 · #9AAAFF · #F8DF83 · #262619
- Split complementary#9C8B28 · #75A5E8 · #B084E4 · #F0DC95 · #2F2C21
- Triadic#9C8B28 · #46A4C6 · #D67EC7 · #EAD79A · #23221A
- Tetradic#9C8B28 · #00B2A2 · #A5A4FF · #FFC8D5 · #313027
- Monochromatic#9C8B28 · #CBB040 · #D7B400 · #EDE1B2 · #35332A
#9C8B28 as a brand color
What a UI color system built from #9C8B28 looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #FFF8D1
- Brand 100, #F9EDA9
- Brand 200, #E8DB90
- Brand 300, #D0C16D
- Brand 400, #B5A449
- Brand 500, #9C8B28
- Brand 600, #7D6D00
- Brand 700, #625500
- Brand 800, #4A4000
- Brand 900, #332B00
- Brand 950, #1D1800
Neutral
- Neutral 50, #FAFAF9
- Neutral 100, #F4F4F2
- Neutral 200, #E6E5E2
- Neutral 300, #D5D4CF
- Neutral 400, #A2A199
- Neutral 500, #75746B
- Neutral 600, #56544C
- Neutral 700, #424039
- Neutral 800, #292821
- Neutral 900, #191812
- Neutral 950, #0B0A05
Success
- Success 50, #E7FFE2
- Success 100, #C9FCBD
- Success 200, #B3EBA7
- Success 300, #95D288
- Success 400, #76B668
- Success 500, #5B9C4C
- Success 600, #3F7F30
- Success 700, #286518
- Success 800, #144D02
- Success 900, #0A3600
- Success 950, #041F00
Warning
- Warning 50, #FFF6E5
- Warning 100, #FFE8C0
- Warning 200, #FDD283
- Warning 300, #E6B75E
- Warning 400, #D5A239
- Warning 500, #AE7E00
- Warning 600, #8D6600
- Warning 700, #6F4F00
- Warning 800, #543B00
- Warning 900, #3A2800
- Warning 950, #221600
Danger
- Danger 50, #FFF4F2
- Danger 100, #FFE4E0
- Danger 200, #FFCBC2
- Danger 300, #FFA396
- Danger 400, #F97464
- Danger 500, #D04A3D
- Danger 600, #BB382D
- Danger 700, #9C1E16
- Danger 800, #7D0101
- Danger 900, #580000
- Danger 950, #360000
Info
- Info 50, #EEF9FF
- Info 100, #D6EFFF
- Info 200, #AFE1FF
- Info 300, #70CBFE
- Info 400, #49AEE3
- Info 500, #0C8ABF
- Info 600, #0076A5
- Info 700, #005D82
- Info 800, #004563
- Info 900, #003045
- Info 950, #001B2A
- Primary buttons use Brand 500 with neutral 950 text, at 5.8:1.
- In dark mode primary stays Brand 500: it already reads on the dark background at 5.8:1.
- Neutrals carry a hint of its hue, so grays, borders and surfaces feel related to the brand.
- Success, warning, danger and info lean toward its hue and stay easy to tell apart.
Colors related to #9C8B28
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.