Light yellow

#ECD98F

#ECD98F is a light yellow with medium intensity, at step 200 of its 50–950 scale. Dark text on it has a contrast of 13.4:1. On white it reaches only 1.4:1, so use a darker shade for text.

Light yellow#ECD98F
HWB, OKLab, LCH, Lab and Display P3

#ECD98F shades and tints

Eleven steps from 50 to 950 with #ECD98F kept exactly at step 200. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.

Open in shade generator
  1. 50 FFF7D8
  2. 100 FAECB5
  3. 200 ECD98F
  4. 300 D0BF7E
  5. 400 B5A35D
  6. 500 99873E
  7. 600 7E6C22
  8. 700 655403
  9. 800 4C3F00
  10. 900 342B00
  11. 950 1E1800

Tailwind CSS v4 theme

@theme {  --color-yellow-50: #fff7d8;  --color-yellow-100: #faecb5;  --color-yellow-200: #ecd98f;  --color-yellow-300: #d0bf7e;  --color-yellow-400: #b5a35d;  --color-yellow-500: #99873e;  --color-yellow-600: #7e6c22;  --color-yellow-700: #655403;  --color-yellow-800: #4c3f00;  --color-yellow-900: #342b00;  --color-yellow-950: #1e1800;}

Is #ECD98F readable?

Contrast for text on #ECD98F and for #ECD98F 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.

Color palettes with #ECD98F

Six palettes built around #ECD98F, each starting from the exact color. Open one in the palette tool to adjust it or get more options.

#ECD98F as a brand color

What a UI color system built from #ECD98F looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.

Open in builder

Brand

  1. Brand 50, #FFF7D8
  2. Brand 100, #FAECB5
  3. Brand 200, #ECD98F
  4. Brand 300, #D0BF7E
  5. Brand 400, #B5A35D
  6. Brand 500, #99873E
  7. Brand 600, #7E6C22
  8. Brand 700, #655403
  9. Brand 800, #4C3F00
  10. Brand 900, #342B00
  11. Brand 950, #1E1800

Neutral

  1. Neutral 50, #FAFAF9
  2. Neutral 100, #F4F4F2
  3. Neutral 200, #E6E5E2
  4. Neutral 300, #D5D4CF
  5. Neutral 400, #A3A199
  6. Neutral 500, #76736B
  7. Neutral 600, #56544C
  8. Neutral 700, #424039
  9. Neutral 800, #2A2821
  10. Neutral 900, #191812
  11. Neutral 950, #0C0A05

Success

  1. Success 50, #E7FFE2
  2. Success 100, #CAFCBF
  3. Success 200, #B4EBA9
  4. Success 300, #97D28A
  5. Success 400, #78B66A
  6. Success 500, #66A558
  7. Success 600, #417E33
  8. Success 700, #2A651C
  9. Success 800, #174D07
  10. Success 900, #0A3600
  11. Success 950, #041F00

Warning

  1. Warning 50, #FFF6E5
  2. Warning 100, #FFE8C0
  3. Warning 200, #FCD387
  4. Warning 300, #E4B352
  5. Warning 400, #C99B3B
  6. Warning 500, #AE7F06
  7. Warning 600, #8D6600
  8. Warning 700, #6F4F00
  9. Warning 800, #543B00
  10. Warning 900, #3A2800
  11. Warning 950, #221600

Danger

  1. Danger 50, #FFF4F2
  2. Danger 100, #FFE4E0
  3. Danger 200, #FFCBC2
  4. Danger 300, #FFA396
  5. Danger 400, #F77767
  6. Danger 500, #D45345
  7. Danger 600, #B93C30
  8. Danger 700, #99221A
  9. Danger 800, #7B0805
  10. Danger 900, #580000
  11. Danger 950, #360000

Info

  1. Info 50, #EEF9FF
  2. Info 100, #D6EFFF
  3. Info 200, #AFE1FF
  4. Info 300, #74CBFC
  5. Info 400, #4EAEE1
  6. Info 500, #2591C4
  7. Info 600, #0076A5
  8. Info 700, #005D82
  9. Info 800, #004563
  10. Info 900, #003045
  11. Info 950, #001B2A
  • Primary buttons use Brand 200 with neutral 950 text, at 14.0:1.
  • In dark mode primary stays Brand 200: it already reads on the dark background at 14.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.

Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.