Light yellow
#FEF08A
#FEF08A is a light yellow with medium intensity, at step 100 of its 50–950 scale. Dark text on it has a contrast of 16.2:1. On white it reaches only 1.2:1, so use a darker shade for text.
#FEF08A shades and tints
Eleven steps from 50 to 950 with #FEF08A kept exactly at step 100. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 FFF9C9
- 100 FEF08A
- 200 E7DC8B
- 300 CEC268
- 400 B3A542
- 500 988917
- 600 7B6F00
- 700 605600
- 800 484100
- 900 322C00
- 950 1D1900
Tailwind CSS v4 theme
@theme { --color-yellow-50: #fff9c9; --color-yellow-100: #fef08a; --color-yellow-200: #e7dc8b; --color-yellow-300: #cec268; --color-yellow-400: #b3a542; --color-yellow-500: #988917; --color-yellow-600: #7b6f00; --color-yellow-700: #605600; --color-yellow-800: #484100; --color-yellow-900: #322c00; --color-yellow-950: #1d1900;}Is #FEF08A readable?
Contrast for text on #FEF08A and for #FEF08A 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
Fail · 1.2APCA Lc 9 · Not readable
- AaThe quick brown foxCheck in contrast tool
Dark text on it
AAA · 16.2APCA Lc 95 · Ideal for body text
- AaThe quick brown foxClosest readable: #857700 · 4.5:1 Check in contrast tool
As text on white
Fail · 1.2APCA Lc 8 · Not readable
- AaThe quick brown foxCheck in contrast tool
As text on a dark background
AAA · 16.2APCA Lc 96 · Ideal for body text
Color palettes with #FEF08A
Six palettes built around #FEF08A, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#FEF08A · #9EBD7F · #F89D25 · #A0FBD2 · #25231B
- Complementary#FEF08A · #9094EE · #8997FF · #EBD583 · #25241E
- Split complementary#FEF08A · #68A6EA · #BD7DDC · #E7D699 · #353327
- Triadic#FEF08A · #00ABDE · #F072C9 · #EDDBA0 · #262416
- Tetradic#FEF08A · #00A9A7 · #9396F0 · #FFD6D7 · #302D20
- Monochromatic#FEF08A · #CFAF1E · #D0AF00 · #EDDA94 · #29271E
#FEF08A as a brand color
What a UI color system built from #FEF08A looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #FFF9C9
- Brand 100, #FEF08A
- Brand 200, #E7DC8B
- Brand 300, #CEC268
- Brand 400, #B3A542
- Brand 500, #988917
- Brand 600, #7B6F00
- Brand 700, #605600
- Brand 800, #484100
- Brand 900, #322C00
- Brand 950, #1D1900
Neutral
- Neutral 50, #FAFAF9
- Neutral 100, #F4F4F2
- Neutral 200, #E6E5E2
- Neutral 300, #D5D4CF
- Neutral 400, #A2A199
- Neutral 500, #75746B
- Neutral 600, #55554C
- Neutral 700, #414139
- Neutral 800, #292821
- Neutral 900, #191812
- Neutral 950, #0B0A05
Success
- Success 50, #E7FFE2
- Success 100, #C6FDBA
- Success 200, #B0ECA3
- Success 300, #92D484
- Success 400, #72B863
- Success 500, #60A750
- Success 600, #3A802A
- Success 700, #236610
- Success 800, #134E00
- Success 900, #0A3600
- Success 950, #041F00
Warning
- Warning 50, #FFF6E5
- Warning 100, #FFE8C0
- Warning 200, #FFD27E
- Warning 300, #EBB442
- Warning 400, #CD9925
- 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, #FE705F
- Danger 500, #DB4B3D
- Danger 600, #C03227
- Danger 700, #9F130E
- Danger 800, #7D0001
- Danger 900, #580000
- Danger 950, #360000
Info
- Info 50, #EEF9FF
- Info 100, #D6EFFF
- Info 200, #AFE1FF
- Info 300, #6ECBFF
- Info 400, #40AFE7
- Info 500, #0091C9
- Info 600, #0076A5
- Info 700, #005D82
- Info 800, #004563
- Info 900, #003045
- Info 950, #001B2A
- Primary buttons use Brand 100 with neutral 950 text, at 17.0:1.
- In dark mode primary stays Brand 100: it already reads on the dark background at 17.0: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 #FEF08A
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.